sethbacon/Setup Terraform (hardened)

Install Terraform or OpenTofu with checksum, GPG, and cosign verification; no CLI wrapper, so raw exit codes are preserved.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
binaryWhich CLI to install — "terraform" or "tofu" (OpenTofu).noterraform
versionVersion to install (e.g. "1.9.5"), or "latest".nolatest
require-checksumVerify the downloaded archive against the published SHA256SUMS.notrue
require-gpg-signatureTerraform only — verify SHA256SUMS against HashiCorp's GPG signature. The HashiCorp public key is fetched from its well-known URL and its fingerprint is asserted before use.nofalse
require-cosign-verificationOpenTofu only — verify SHA256SUMS with cosign against the OpenTofu release identity. Requires the cosign CLI on PATH (e.g. sigstore/cosign-installer).nofalse
namedescription
versionThe resolved version that was installed.
pathDirectory the binary was installed into (also added to PATH).