Description
- Added support for OpenTofu in Terragrunt, by default, will be wrapped
terraform
command with a fallback totofu
.
Related links
Migration guide
Switching to tofu:
- Install OpenTofu cli https://github.com/opentofu/opentofu
- Apply one of:
- Option 1: Remove
terraform
binary fromPATH
- Option 2: Define env variable
TERRAGRUNT_TFPATH=tofu
- Option 3: When launching
terragrunt
, specify--terragrunt-tfpath tofu