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

Effect1 - Parameter #1919

Open
SebastianClaesson opened this issue Feb 7, 2025 · 2 comments
Open

Effect1 - Parameter #1919

SebastianClaesson opened this issue Feb 7, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@SebastianClaesson
Copy link

Describe the bug
The Azure Policy Set for "deploy-private-dns-zones" contains a parameter called effect1 which is used for only these azure policy definitions;

The parameter should be removed and the parameter effect should be used instead across these three policy definitions.

Screenshots

Image

@SebastianClaesson SebastianClaesson added the bug Something isn't working label Feb 7, 2025
@SebastianClaesson
Copy link
Author

Should be marked as feature and not bug I suppose.. :)

@Springstone
Copy link
Member

Hi @SebastianClaesson, the reason there is a different effect is because the Policy engine is case sensitive, and those three policies use a lower case "d", where all the others use an upper case "D" for DeployIfNotExists. While we could update the allowed values for "effect" to include the lower case version, this would be a breaking change for little value (and we would only be able to address this in June/July timeframe.

@Springstone Springstone self-assigned this Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants