Skip to content

devopsidiot/terragrunt2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Terragrunt2022 repo

Table of Contents

About

The terraform-live repo describes the live state of terraform per environment, per module. This is enabled using the terragrunt wrapper for terraform.

Getting Started

Prerequisites

  • You will need the ability to assume the admin role in the AWS account(s) you want to work with.

Installing

  • Before applying changes you will need to init each working directory you want to work from. This works the same way it did with terraform, but the command is terragrunt.
cd qa/eks
terragrunt init
.
.
terragrunt plan

Usage

  • To apply changes cd into the directory that represents the module / environment you want to deploy to and run terragrunt apply.
cd qa/eks
terragrunt apply
  • If the source of a module does not point to a tag or a ref you may need to clear cache. Terragrunt Cache Docs
  • Instead of using inputs, terragrunt defines them in terragrunt.hcl files that live within the folders in terraform-live. Terragrunt inputs Docs
  • It is possible to do rapid local development using terragrunt using the --terragrunt-source flag. Terragrunt - Working Locally Pay attention to the important gotchas if you go with this route!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published