docs/src/data/flags/tf-path.mdx
Specifies the path to the OpenTofu/Terraform binary that Terragrunt should use. By default, Terragrunt will look for a binary named tofu in your system's PATH.
This is useful when:
Example:
terragrunt run plan --tf-path=/usr/local/bin/tofu
Note that if you only have terraform installed, and it is available in your PATH, Terragrunt will automatically use that binary.
NOTE: This will override the terraform binary that is used by terragrunt in all instances, including dependency lookups. This setting will also override any terraform_binary configuration values specified in the terragrunt.hcl config for both the top level, and dependency lookups.