This repo aims to give a tutorial around some of the features that Terragrunt offers, with examples for each.
Terragrunt is a thin wrapper that overlays Terraform that allows you to avoid having large amounts of repetition in your infrastructure as code, as well as helping with terraform modules and remote state.
Terraform is a great tool, but it does lend itself towards some duplication which can get harder to manage the larger your solution becomes.
The main branch shows you the infrastructure pre-terragrunt.
The terragrunt branch shows you all of the examples, with updated README.md
for details
- Create your remote state backend:
> cd remote-state/
> terraform init
> terraform apply
- Create your example registry:
> cd registry/
> terraform init
> terraform apply
- Create your example storage:
> cd storage/
> terraform init
> terraform apply