FAQ

How does Terragrunt manage dependencies between infrastructure units?

Terragrunt's Run Queue controls ordering and concurrency when running OpenTofu/Terraform commands across multiple units. It uses a directed acyclic graph (DAG) built from the dependencies between units, so dependencies run before dependent units for operations such as plan or apply, and destroy operations occur in a safe reverse order, while still allowing safe concurrency where possible. This automates common ordering requirements such as networks before clusters, IAM before services, and databases before applications.

Supercharge

Terragrunt for your Organization

Unlock Terragrunt’s full potential with Terragrunt Scale — purpose-built tooling that streamlines deploying and operating your infrastructure.

Automate your CI/CD

Terragrunt Pipelines

is an out-of-the-box, best practices, secure CI/CD pipeline, built for Terragrunt, by the creators of Terragrunt.

Remediate infra drift

Terragrunt Drift Detection

regularly compares your live cloud resources to your IaC and automatically opens pull requests to eliminate infrastructure drift.

Keep your IaC Fresh

Terragrunt Patcher

is a dependency management tool that keeps your OpenTofu/Terraform modules up to date, even through breaking changes.

Learn about Terragrunt Scale
Check out our other open source tools
Terratest
Validate IaC modules
Boilerplate
Automate repetitive DevOps work
CloudNuke
Save money on unused AWS resources
GitXargs
Make changes across git repos