https://github.com/d3athkai/hashicorp-latest-binary
Bash scripts to get latest HashiCorp binary/version
https://github.com/d3athkai/hashicorp-latest-binary
hashicorp hashicorp-packer hashicorp-terraform hashicorp-vault linux raspberry-pi redhat rockylinux ubuntu
Last synced: 3 months ago
JSON representation
Bash scripts to get latest HashiCorp binary/version
- Host: GitHub
- URL: https://github.com/d3athkai/hashicorp-latest-binary
- Owner: d3athkai
- License: gpl-3.0
- Created: 2023-02-12T03:56:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-08T12:18:49.000Z (4 months ago)
- Last Synced: 2025-02-08T13:26:13.008Z (4 months ago)
- Topics: hashicorp, hashicorp-packer, hashicorp-terraform, hashicorp-vault, linux, raspberry-pi, redhat, rockylinux, ubuntu
- Language: Shell
- Homepage:
- Size: 27.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](#)
[](#) [](#) [](#)
[](#) [](#) [](#)# HashiCorp Latest Binary Download Script
## Purpose
This script is used to get the latest Packer, Terraform or Vault binary/version for amd64 or arm64 Linux from [HashiCorp releases](https://releases.hashicorp.com/).
## Requirements
* **jq** installed
* **unzip** installed
## hashicorp-binary-install.bash Usage
`chmod 755 hashicorp-binary-install.bash`
`./hashicorp-binary-install.bash `
Example of installing Terraform for amd64:
`./hashicorp-binary-install.bash terraform amd64`## hashicorp-binary-version.bash Usage
`chmod 755 hashicorp-version-version.bash`
`./hashicorp-binary-version.bash `
Example of retrieving Terraform version for amd64:
`./hashicorp-binary-version.bash terraform amd64`
\> `1.3.8`