Dynamic Terraform deployments across multiple environments
The structure of your Terraform code is subjective! But here's my take on the ‘best’ way to lay it all out in my experience!
The ideal structure needs to take into account the following principles:
- You should have a centralized module repository that you can reuse across multiple projects.