Skip to content

Instantly share code, notes, and snippets.

@anthonysnk
Created June 5, 2021 00:54
Show Gist options
  • Save anthonysnk/04d932a555753a664ad03689d586823e to your computer and use it in GitHub Desktop.
Save anthonysnk/04d932a555753a664ad03689d586823e to your computer and use it in GitHub Desktop.
Script to install tf
#!/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