Documentation
¶
Overview ¶
Package tfinstall locates or installs a terraform/tofu binary. It is shared by src/ (the scan path) and parse/ (the schema extraction path) so that the binary-search and hc-install fallback live in exactly one place.
Index ¶
Constants ¶
View Source
const Version = "1.5.4"
Version is the Terraform version fetched via hc-install when no binary is found on PATH. Kept as a single constant here so both callers stay in sync.
Variables ¶
This section is empty.
Functions ¶
func LocateTerraform ¶
LocateTerraform returns the path to a tofu or terraform binary, preferring tofu. If neither is on PATH it installs Terraform Version via hc-install.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.