Installer for HashiCorp Terraform - Automatic Download, Extract and Install of Latest or Specific Version
Add CPU Architecture check for aarch64 (on Linux)
arm
binary as Terraform currently does not have a separate binary for arm64Adjust movement of binary from download folder to destination
Add arm processor detection
Adjust latest_version algorithm to exclude alpha releases
fix latest version checking
sort --versions-sort
argument in jq-based algorithm [issue #4]set -e
error trap [issue #4]Add checksum validation of downloaded file before installation
Correct fallback value for cpu architecture detection.
Adjust for use in CI/DevOps pipelines
Added -c
option to leave binary in current directory (for CI/DevOps use)
Compatibility Release - works with either curl
or wget
and uses jq
if installed
curl
or wget
and uses whichever is present
curl
if both installedjq
is installed - parses the latest version from hashicorp download page (instead of GitHub)