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

Correct the casing on the RoleDefintionIds #1387

Open
pmatthews05 opened this issue Sep 30, 2024 · 0 comments
Open

Correct the casing on the RoleDefintionIds #1387

pmatthews05 opened this issue Sep 30, 2024 · 0 comments

Comments

@pmatthews05
Copy link

Details of the scenario you tried and the problem that is occurring

I'm using Terraform to deploy Azure policies, and I've got a piece of code that loops through all RoleDefinitionsIds from the different policies and brings back only the distinct ones.

Verbose logs showing the problem

The problem is this is the one policy https://github.com/Azure/azure-policy/blob/master/built-in-policies/policyDefinitions/Event%20Grid/Topics_PrivateDNSZone_DINE.json that has /providers/microsoft.authorization/ instead of providers/Microsoft.Authorization/ for the RoleDefinitionsIds.

Suggested solution to the issue

Correct the policy to use the correct case like the others.

I've put code in my Terraform to circumvent this issue I've come across, but the inconsistency should be addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant