Skip to content

A simple example of using some of Terragrunts main features

Notifications You must be signed in to change notification settings

paddymorgan84/terragrunt-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terragrunt tutorial

This repo aims to give a tutorial around some of the features that Terragrunt offers, with examples for each.

What is Terragrunt?

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.

Example structure

The main branch shows you the infrastructure pre-terragrunt.

The terragrunt branch shows you all of the examples, with updated README.md for details

Running the code

  1. Create your remote state backend:
> cd remote-state/
> terraform init
> terraform apply
  1. Create your example registry:
> cd registry/
> terraform init
> terraform apply
  1. Create your example storage:
> cd storage/
> terraform init
> terraform apply

About

A simple example of using some of Terragrunts main features

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages