An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

[![GPL-3.0](https://img.shields.io/badge/license-GPL--3.0-BE0000?style=plastic)](#)
[![Rocky Linux](https://img.shields.io/badge/RockyLinux-07BA82?style=plastic)](#) [![Ubuntu+](https://img.shields.io/badge/Ubuntu-DD4814?style=plastic)](#) [![Raspberry Pi OS](https://img.shields.io/badge/Raspberry--Pi--OS-C51A4A?style=plastic)](#)
[![Packer](https://img.shields.io/badge/Packer-02A8EF?style=plastic)](#) [![Terraform](https://img.shields.io/badge/Terraform-844FBA?style=plastic)](#) [![Vault](https://img.shields.io/badge/Vault-FFD814?style=plastic)](#)

# 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`