Would love to be able to run type: TERRAFORM stacks on OpenTofu. The configuration.terraform.tofu flag already exists (and the console correctly generates tofu commands for it), but there's no runner support yet, so enabling it just fails with tofu: executable not found (verified on agent 0.6.56 / console 0.12.35).
What seems to be missing:
- the Terraform harness image only ships
/bin/terraform (no *-tofu-* image flavor is published either);
- the harness's plan/state post-processing (
terraform show -json in the terraform tool) hardcodes the terraform binary, so plan preview wouldn't follow the flag even with a tofu binary present.
The terragrunt harness image already bundles OpenTofu, and the CRD recently gained tofuRegistry, so the direction clearly exists - this is a request to finish the type: TERRAFORM path. Bundling tofu into the existing Terraform image (like the terragrunt one does) and picking the binary per the flag looks like the smallest version.
Not urgent for us - happily on Terraform 1.10 meanwhile - but tofu is where we'd like to end up, and it would be good if the flag either worked or was documented as not-yet-functional.
Would love to be able to run
type: TERRAFORMstacks on OpenTofu. Theconfiguration.terraform.tofuflag already exists (and the console correctly generatestofucommands for it), but there's no runner support yet, so enabling it just fails withtofu: executable not found(verified on agent 0.6.56 / console 0.12.35).What seems to be missing:
/bin/terraform(no*-tofu-*image flavor is published either);terraform show -jsonin the terraform tool) hardcodes theterraformbinary, so plan preview wouldn't follow the flag even with a tofu binary present.The terragrunt harness image already bundles OpenTofu, and the CRD recently gained
tofuRegistry, so the direction clearly exists - this is a request to finish thetype: TERRAFORMpath. Bundlingtofuinto the existing Terraform image (like the terragrunt one does) and picking the binary per the flag looks like the smallest version.Not urgent for us - happily on Terraform 1.10 meanwhile - but tofu is where we'd like to end up, and it would be good if the flag either worked or was documented as not-yet-functional.