initial commit
This commit is contained in:
commit
693618845d
1 changed files with 12 additions and 0 deletions
12
main.sh
Executable file
12
main.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
TERRA_VER=0.12.3
|
||||||
|
INSTALL_DIR=/usr/bin
|
||||||
|
|
||||||
|
read -p "Desired Terraform Version: " TERRA_VER
|
||||||
|
|
||||||
|
wget -P /tmp/ https://releases.hashicorp.com/terraform/${TERRA_VER}/terraform_${TERRA_VER}_linux_amd64.zip
|
||||||
|
|
||||||
|
unzip /tmp/terraform_${TERRA_VER}_linux_amd64.zip -d /tmp/
|
||||||
|
|
||||||
|
mv /tmp/terraform $(which terraform)
|
||||||
Loading…
Add table
Reference in a new issue