Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom policies and policy set definitions - optimal module location #774

Closed
danadamsituk opened this issue Apr 23, 2024 · 1 comment
Closed
Labels
Area: Accelerator ⚡ Issues / PR's related to Accelerators Area: Policy 📝 Issues / PR's related to Policy Type: Duplicate 🤲 This issue or pull request already exists

Comments

@danadamsituk
Copy link

I'm looking to implement custom policies and policy initiatives with ALZ-Bicep following best practice but am unsure how best to handle the policy module.

As we’re directly modifying the lib directory, should the entire policy module be copied to custom-modules to prevent issues around ALZ-Bicep update, or is there a more sensible approach to take, perhaps keeping the custom policy/policy set definitions within the config folder somehow?

@oZakari
Copy link
Contributor

oZakari commented Apr 23, 2024

Hi @danadamsituk, this appears to be a duplicate of #646 which I am working on and expecting to hopefully complete next month. I am planning on moving the policy module directory in its entirety to the custom-modules directory by default and then essentially updating the scripts and workflows/pipelines referenced within this documentation. That way you can extend the policies you need to modify on your end and get the latest policies from Enterprise-Scale repo which is what ALZ-Bicep syncs with. Still a work in progress though, so some of that may change somewhat.

Will go ahead and close this to have a single issue open. Please feel free to bring forth additional questions or offer any other insight on that thread.

@oZakari oZakari closed this as not planned Won't fix, can't repro, duplicate, stale Apr 23, 2024
@oZakari oZakari added Area: Accelerator ⚡ Issues / PR's related to Accelerators Area: Policy 📝 Issues / PR's related to Policy Type: Duplicate 🤲 This issue or pull request already exists labels Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Accelerator ⚡ Issues / PR's related to Accelerators Area: Policy 📝 Issues / PR's related to Policy Type: Duplicate 🤲 This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants