DevOps Dictionary

Terragrunt

Terragrunt is a thin wrapper around Terraform that helps teams manage infrastructure-as-code by centralizing shared configuration and reducing repetition across environments and modules. It works by letting you define common inputs, backend (state storage) settings, provider configuration, and dependency relationships in reusable Terragrunt files, then generating or passing the right values into Terraform at runtime. This makes it easier to keep dev, staging, and production consistent while still allowing targeted overrides where needed.

With Terragrunt, teams typically get smaller, more maintainable Terraform codebases and safer, more predictable deployments; without it, engineers often copy and paste similar Terraform blocks across folders, increasing drift, review overhead, and the chance of subtle misconfigurations. This gap exists because Terraform modules are reusable, but coordinating shared settings and environment-specific wiring at scale can otherwise require a lot of manual duplication.

A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
Y
X
Z