Created
June 5, 2021 00:54
-
-
Save anthonysnk/04d932a555753a664ad03689d586823e to your computer and use it in GitHub Desktop.
Script to install tf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
tf_version=0.15.0 | |
echo "DOWNLOADING TERRAFORM" | |
wget https://releases.hashicorp.com/terraform/"$tf_version"/terraform_"$tf_version"_linux_amd64.zip | |
unzip terraform_"$tf_version"_linux_amd64.zip | |
sudo mv terraform /usr/local/bin/ | |
rm terraform_"$tf_version"_linux_amd64.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment