We're provisioning a Landing Zone in Azure and will predominantly use the following:
- Terraform as our IaC.
- Azure Pipelines for provisioning the required Azure resources.
As we will be provisioning across multiple environments - Dev, Test and Prod, we've identified a modular approach to be the preferred option for our Terraform code. I'd therefore like a very basic example of how I can put together a Terraform module for 3 Resource Groups deployed across all three environments - Dev, Test and Prod.
Hopefully, I can then adopt the same concept to provision other resources in a modular manner.