Azure / terraform-azurerm-caf-enterprise-scale

Azure landing zones Terraform module
https://aka.ms/alz/tf
MIT License
844 stars 554 forks source link

How to avoid Decommissioned, Landing Zones and Sandboxes Management Groups creation #979

Closed praveenambati1233 closed 3 months ago

praveenambati1233 commented 3 months ago

terraform: latest

azure provider: >= 3.74.0

module: latest

Description :

Describe the bug

I am able to create the Management Groups , but as per the standards the module is creating image But I don't want Decommissioned, Landing Zones and Sandboxes Management Groups to be created during the process or by default. As per my client requirement these have to be created in different management group level.

Reference - https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/wiki/%5BExamples%5D-Deploy-Default-Configuration

Steps to Reproduce

Run default terraform main.tf- https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/wiki/%5BExamples%5D-Deploy-Default-Configuration

matt-FFFFFF commented 3 months ago

Hi

Unfortunately this isn't possible without deploying all management groups though custom landing zones.

However doing so means many of the convenience features of the module do not work.

praveenambati1233 commented 3 months ago

Okay. I have used custom_landing_zones approach to create desired Management Group structure.