Terragrunt Cheat sheet

Shortcuts

Handy Terragrunt commands

terragrunt validate Validate a terraform file syntax
terragrunt plan Dry run
terragrunt apply Apply a terraform file
terragrunt destroy Delete the resource
terragrunt force-unlock [lock-id] Force unlock a Terraform lock

Force destroy

Terragrunt does not have an explicit force destroy flag. To achieve a similar result, add this line to the resource file:

force_destroy = true

Then run terragrunt destory command.

Installation

On macOS:

$ brew install terragrunt