Last active
December 6, 2018 02:32
-
-
Save phillipsj/7f701dd51d62d564fe8d1c3c4b704ba1 to your computer and use it in GitHub Desktop.
Terraform installer for Linux.
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 | |
echo "Fetching Terraform..." | |
wget -O terraform.zip https://releases.hashicorp.com/terraform/0.11.10/terraform_0.11.10_linux_amd64.zip | |
echo "Unzipping Terraform..." | |
unzip terraform.zip | |
echo "Making Terraform executable..." | |
chmod +x ./terraform | |
echo "Moving terraform to /usr/local/bin..." | |
sudo mv ./terraform /usr/local/bin/terraform |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment