Menu

πŸ“°
0

What is Terragrunt and why you need it

DEV Community: terraformΒ·BartΕ‚omiej DanekΒ·about 1 month ago
#1G2YTv2T
#dev#code#class#terragrunt#highlight#article
Reading 0:00
15s threshold

What is Terragrunt and why you need it the multi-env problem With plain Terraform, managing multiple environments means duplicating config - same modules, different variable files, same backend boilerplate repeated everywhere. environments/ β”œβ”€β”€ dev/ β”‚ β”œβ”€β”€ main.tf # copy β”‚ β”œβ”€β”€ variables.tf # copy β”‚ └── backend.tf # copy with different key β”œβ”€β”€ staging/ β”‚ β”œβ”€β”€ main.tf # copy β”‚ β”œβ”€β”€ variables.tf # copy β”‚ └── backend.tf # copy with different key └── prod/ β”œβ”€β”€ main.tf # copy β”œβ”€β”€ variables.tf # copy └── backend.tf # copy with different key Any change to the module requires updating all three.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More