Setup Terraform

less than 1 minute read

Setting up Terraform

Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions.

Following are the commands to install Terraform in Ubuntu machine.

#!/bin/sh

sudo apt-get update
sudo apt-get install unzip
sudo wget https://releases.hashicorp.com/terraform/0.12.12/terraform_0.12.12_linux_amd64.zip
unzip terraform_0.12.12_linux_amd64.zip
sudo mv terraform /usr/local/bin/

## Cleanup machine
rm terraform_0.12.12_linux_amd64.zip

Updated: