Closed owejak closed 2 years ago
Hi @owejak,
These polices are assigned at the intermediate root management group "es_root" so you would need to exclude them from there.
Or use the "notScopes" to exclude those policies from taking effect on the decommissioned management group.
Hope that helps
Thanks
Jack
This has been handled over email
Trigger ADO Sync
Community Note
Versions
terraform: 1.0.8
azure provider: 3.0.2
module: 2.3.1
Description
Describe the bug
We are trying to disable some azure policies using the exclude archetype, this applies to the root or our custom landing zones, but doesn't apply to management, connectivity, decommissioned or sandbox
Steps to Reproduce
File is called "archetype_exclusion_decommissioned.json"
This file with Terraform plan
Screenshots
This is what we get when se do exclude_es_root:
This is what we get when planning with exclude_es_decommissioned: