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.
- Install Terraform and make sure it's on your
PATH. - Install Terragrunt and make sure it's on your
PATH. - Run
terragrunt apply. - When you're done, run
terragrunt destroy.
- Install Terraform and make sure it's on your
PATH. - Install Terragrunt and make sure it's on your
PATH. - Install Golang and make sure this code is checked out into your
GOPATH. cd testgo test -v -run TestTerragruntExample
