Skip to content

Accelerator: Extend custom policy definitions - How to survive from ALZ upgrade? #646

@teemukom

Description

@teemukom

Let us know the feedback or general question

If I would like to extend the customPolicyDefinition.bicep module, how should I upgrade the ALZ to a newer version?

  1. Using the documented (https://github.com/Azure/ALZ-Bicep/wiki/AddingPolicyDefs#how-do-i-extend-the-alz-bicep-custom-policy-definitions-module) way to extend will get overwritten when upgrading the ALZ version
  2. Copying the module to custom-modules (https://github.com/Azure/ALZ-Bicep/wiki/Accelerator#incorporating-modified-alz-modules) would require fixing the file paths in policy definitions

So would like to hear the "correct" way of doing this :)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Parked

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions