Re:Terraform best practices for reliability at any scale
by linuxdude314 on Saturday August 05, 2023 @01:38PM
(#37014500)
Let's say you need to configure a provider for 3 different regions. The natural way you want to do this is store the regions in a variable, and iterate over the variable using "for_each".
What you are referring to are called "provider aliases" and they work well for _avoiding_ using terragrunt (not very DRY though).
What you are referring to are called "provider aliases" and they work well for _avoiding_ using terragrunt (not very DRY though).