Stop Repeating Code: Shared Terraform Config Module
The Problem I found myself committing a cardinal sin in Terraform — repeating configuration across multiple projects. When deploying Azure resources, we often need region- or environment-specific values. For example, virtual networks may need different routes or DNS servers depending on the location. I was managing these using lookup tables in local variables, like this: … Read more