Slack Community
Articles
Jobs
Events
Guidelines
Post a Job
Join Our Slack
Home
Articles
Reducing your Terraform code redundancy by using Terragrunt
Source: www.padok.fr
Reducing your Terraform code redundancy by using Terragrunt
3 years ago
https://www.padok.fr/ https://www.padok.fr/en/blog https://www.padok.fr/en/blog/tag/technology https://www.padok.fr/en/blog/terraform-code-terragrunt This infrastructure is deployed in 3 distinct environments: A production environment: production
├── code/ │ └── contains the application code ├── terraform/ │ ├── dev/ │ │ ├── main.tf │ │ ├── providers.tf │ │ └── versions.tf │ ├── staging/ │ │ ├── main.tf │ │ ├── providers.tf │ │ └── versions.tf │ └── production/ │ ├── main.tf │ ├── providers.tf │ └── versions.tf └──...
This is where Terragrunt comes in handy, as it provides several functionalities to keep Terraform code DRY (Don’t Repeat Yourself).
That’s it for the theoretical part, let’s migrate the Terraform code for API A to Terragrunt.
Read Full Article On www.padok.fr
Related Articles
Community Partners
DevOps Careers
Want your job here? Contact Us.