# Terragrunt

> Terragrunt is a thin wrapper for Terraform and OpenTofu that keeps configuration DRY across many environments, accounts and regions.

- Source: https://www.itwonderlab.com/terragrunt/
- Published: 2026-08-18
- Updated: 2026-08-18
- Author: Javier Ruiz Jiménez (https://www.javierruizjimenez.com/)
- Site: IT Wonder Lab (https://www.itwonderlab.com/)

---

**Terragrunt** reads `terragrunt.hcl` files that generate the backend and provider configuration and pass inputs to your modules, and it can run many modules in dependency order.

### Key concepts

- **include**: inherit shared settings.
- **dependency**: use the outputs of another module.
- **run-all**: apply a whole tree of modules.

### Learn it

Read [Terragrunt with OpenTofu](https://www.itwonderlab.com/terragrunt-opentofu/) and [Workspaces vs directories](https://www.itwonderlab.com/terraform-workspaces-vs-directories/).
