Skip to content

terraform_version_constraint

unitoptional(string, ">= v0.12.0")

Usage

The terraform_version_constraint attribute sets the OpenTofu/Terraform versions a unit accepts. It replaces the default constraint, so it can allow versions older than the default. If the version of the binary terraform_binary selects doesn’t satisfy the constraint, Terragrunt exits with an error.

Examples

terragrunt.hcl
terraform_version_constraint = ">= 0.11"