close
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Terragrunt Example

This folder contains a single Terragrunt unit demonstrating how to test it using Terratest's terraform package with TerraformBinary: "terragrunt".

Check out modules/terragrunt/terragrunt_example_test.go to see how you can write automated tests for this module.

For testing a stack of Terragrunt units with dependencies (using --all commands), see terragrunt-multi-module-example.

Running this module manually

  1. Install Terraform and make sure it's on your PATH.
  2. Install Terragrunt and make sure it's on your PATH.
  3. Run terragrunt apply.
  4. When you're done, run terragrunt destroy.

Running automated tests against this module

  1. Install Terraform and make sure it's on your PATH.
  2. Install Terragrunt and make sure it's on your PATH.
  3. Install Golang and make sure this code is checked out into your GOPATH.
  4. cd test
  5. go test -v -run TestTerragruntExample