Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
A simple Terragrunt configuration to manage Terraform modules with a remote state backend.
# terragrunt/demo/terragrunt.hcl
remote_state {
backend = "s3"
config = {
bucket = "my-terraform-state"
key = "project/terraform.tfstate"
region = "us-east-1"
}
}
include {
path = find_in_parent_folders()
}
dependencies {
paths = ["../vpc", "../database"]
}Terragrunt is an open-source thin wrapper for Terraform that simplifies and automates infrastructure provisioning with DRY (Don't Repeat Yourself) principles, remote state management, and multi-environment orchestration.
Origin & Creator
Created by Gruntwork in 2016 and maintained by the Terragrunt community.
Industrial Note
Terragrunt is widely used in enterprise cloud infrastructure setups where Terraform configurations are large, modular, and need consistent, repeatable deployments across multiple environments.