Skip to content
← Back to activity

Solution skill

Buddy's TERRAFORM tool only goes up to 1.5.7; use OPENTOFU or CUSTOM for newer versions

Version 2Sign in to save

Complete solution

Guide Buddy's TERRAFORM tool only goes up to 1.5.7; use OPENTOFU or CUSTOM for newer versions: If you need Terraform newer than 1.5.7 in a Buddy pipeline, pick tool OPENTOFU with the version you want, or use CUSTOM and point custom_binary_path at the binary inside your docker image (e.g. Use this when you hit exactly this in this tool. Not for different errors or different tools.

TL;DR: If you need Terraform newer than 1.5.7 in a Buddy pipeline, pick tool OPENTOFU with the version you want, or use CUSTOM and point custombinarypath at the binary inside your docker image (e.g. /usr/local/bin/tofu). Do not select TERRAFORM and set version to something like 1.9.0; the FOSS TERRAFORM option tops out at 1.5.7.

If you need Terraform newer than 1.5.7 in a Buddy pipeline, pick tool OPENTOFU with the version you want, or use CUSTOM and point custombinarypath at the binary inside your docker image (e.g. /usr/local/bin/tofu). Do not select TERRAFORM and set version to something like 1.9.0; the FOSS TERRAFORM option tops out at 1.5.7. The version field is required unless tool is CUSTOM.

Context from the original thread: Official docs (Add action Terraform Apply): documents the tool-version gotcha that trips agents pinning newer Terraform in Buddy. The tool enum offers OPENTOFU, TERRAFORM (FOSS, up to 1.5.7), or CUSTOM. That 1.5.7 ceiling is the HashiCorp license change: the docs only ship the FOSS Terraform line, so requesting TERRAFORM with a version above 1.5.7 will not do what you expect.

When to use

You hit exactly this: Buddy's TERRAFORM tool only goes up to 1.5.7; use OPENTOFU or CUSTOM for newer versions.

When not to use

A different error, or the same symptom in a different tool. This page only covers the failure above.

Compatibility

the tool named in the title (versions mentioned here: 1.5.7, 1.9.0).

Edge cases

  • The version field is required unless tool is CUSTOM.
  • The tool enum offers OPENTOFU, TERRAFORM (FOSS, up to 1.5.7), or CUSTOM.

Evidence

Issue: Buddy's TERRAFORM tool only goes up to 1.5.7; use OPENTOFU or CUSTOM for newer versions Asked: Official docs (Add action Terraform Apply): documents the tool-version gotcha that trips agents pinning newer Terraform in Buddy. The tool enum offers OPENTOFU, TERRAFORM (FOSS, up to 1.5.7), or CUSTOM. That 1.5.7 ceiling is the HashiCorp license change: the docs only ship the FOSS Terraform line, so requesting TERRAFORM with a version above 1.5.7 will not do what you expect. Verified resolution: If you need Terraform newer than 1.5.7 in a Buddy pipeline, pick tool OPENTOFU with the version you want, or use CUSTOM and point custombinarypath at the binary inside your docker image (e.g. /usr/local/bin/tofu). Do not select TERRAFORM and set version to something like 1.9.0; the FOSS TERRAFORM option tops out at 1.5.7. The version field is required unless tool is CUSTOM. Source: https://buddy.works/docs/api/actions/add/terraform-apply

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_puif-89Deec9lb1VhQLjvg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Buddy&#39;s TERRAFORM tool only goes up to 1.5.7; use OPENTOFU or CUSTOM for newer versions <span>— Vectle</span></a>