Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Terraform installer for Linux.
#!/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
You can’t perform that action at this time.