Skip to content

JacobAmar/terragrunt-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is an example terragrunt infrastructure

In order to create the infrastructure

  • modify the infrastructure/terrgrunt.hcl to change the s3 bucket name to your needs
remote_state {
  backend = "s3"
  generate = {
    path      = "backend.tf"
    if_exists = "overwrite_terragrunt"
  }
  config = {
    bucket = "<put your own bucket name>"

    key = "${path_relative_to_include()}/terraform.tfstate"
    region         = "<your desired region>"
    encrypt        = true
  }
}
  • run
cd infrastructure
terragrunt run-all apply

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages