Skip to content

A demo project I once used to introduce Terragrunt as a wrapper for Terraform

License

Notifications You must be signed in to change notification settings

katzefudder/terragrunt_demo

Repository files navigation

Terragrunt Demo

Getting started

This project assumes you have gathered some initial experience using Terraform/OpenTofu to create and maintain your infrastructure.

Install Terraform according to their docs: Terraform

Or use OpenTofu as a replacement for Terraform: OpenTofu

You can find all necessary steps to install Terragrunt here: Terragrunt

We are using tfenv for managing the Terraform binary tfenv

We are using tgenv for managing the Terragrunt binary tgenv

Running Terragrunt

Install the needed terraform version according to .terraform-version:

tfenv install

Install the needed terragrunt version according to .terragrunt-version:

tgenv install

According to the chosen environment, one would execute terragrunt like so:

Creating a plan to see what would have been executed:

cd environment/nonlive && terragrunt plan

Execute the plan:

cd environment/nonlive && terragrunt apply

About

A demo project I once used to introduce Terragrunt as a wrapper for Terraform

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages