Search for a command to run...
Orchestration tool for Infrastructure as Code written in Terraform or OpenTofu. Lets you keep Terraform configurations DRY, manage remote state across many modules, enforce dependency order, and run hooks before or after apply. Wraps Terraform and OpenTofu without replacing them.
Developed by Gruntwork and widely adopted for multi-environment and multi-account setups. Terragrunt reduces duplication of provider configs, backends, and module inputs by centralizing shared settings and referencing them from each environment. Unlike plain Terraform, it generates backend blocks dynamically and supports cross-module dependencies so you can deploy in the right order.
Key capabilities:
Teams use Terragrunt to manage dev, staging, and production with minimal duplicated code, deploy the same infrastructure across multiple cloud accounts, and scale from a handful of modules to hundreds. Hooks codify steps like running security scans before apply or triggering post-deploy notifications. The run queue avoids all-or-nothing updates by controlling exactly what runs and in what order.