Recall & Review
beginner
What does DRY stand for in Terragrunt configurations?
DRY stands for "Don't Repeat Yourself." It means writing code or configurations once and reusing them to avoid duplication.
Click to reveal answer
beginner
How does Terragrunt help with DRY in Terraform projects?
Terragrunt lets you keep common Terraform code in one place and reuse it across many modules, so you don't copy-paste the same code multiple times.
Click to reveal answer
beginner
What is a common file used by Terragrunt to define reusable configurations?
Terragrunt uses a file called terragrunt.hcl to store reusable settings like backend configs and variables.
Click to reveal answer
intermediate
What is the purpose of the include block in a Terragrunt configuration?
The include block lets a Terragrunt config reuse settings from a parent or common config file, helping keep things DRY.
Click to reveal answer
intermediate
Why is using Terragrunt beneficial for managing multiple Terraform environments?
Terragrunt helps manage multiple environments by sharing common configs and only changing what’s different, making updates easier and less error-prone.
Click to reveal answer
What is the main goal of using Terragrunt with Terraform?
✗ Incorrect
Terragrunt is designed to help avoid repeating Terraform configuration code by enabling reuse and better organization.
Which file does Terragrunt use to store reusable configuration blocks?
✗ Incorrect
Terragrunt uses the terragrunt.hcl file to define reusable configuration blocks.
What does the include block in Terragrunt do?
✗ Incorrect
The include block imports settings from another Terragrunt configuration file to reuse common settings.
How does Terragrunt help when managing multiple environments like dev and prod?
✗ Incorrect
Terragrunt helps manage multiple environments by sharing common configurations and customizing only what differs.
Which of these is NOT a benefit of using Terragrunt?
✗ Incorrect
Terragrunt does not replace Terraform's core engine; it works alongside Terraform to improve configuration management.
Explain how Terragrunt helps keep Terraform configurations DRY and why this is useful.
Think about how copying code can cause mistakes and how sharing code helps.
You got /4 concepts.
Describe the role of the include block in Terragrunt and how it supports configuration reuse.
It's like inheriting settings from a shared file.
You got /3 concepts.