Environement Setup

AWS Account Setup

Terraform Installation

Ubuntu

Follow the following steps to install Terraform on ubuntu.

wget https://releases.hashicorp.com/terraform/0.11.8/terraform_0.11.8_linux_amd64.zip
unzip terraform_0.11.8_linux_amd64.zip
sudo mv terraform /usr/local/bin
sudo chmod +x /usr/local/bin/terraform

Windows

Visit the following link to download the Terraform executable.

Terraform for Windows.

Extract the file.

zip

Copy the extracted file.

copy

Create a new directory called Terrafrom insice C:\Program Files\

dir

Paste the file we have copied in the previous step.

paste

Copy the file path for the executable. file-path

Search for environment from your start menu. env

Then select environment variables form the window. env-select

Select Path variable and edit it. env-path-edit

Add the path that we have copied earlier. windows-path-env-paste

MacOS

wget https://releases.hashicorp.com/terraform/0.11.8/terraform_0.11.8_darwin_amd64.zip
unzip terraform_0.11.8_darwin_amd64.zip
sudo mv terraform /usr/local/bin
sudo chmod +x /usr/local/bin/terraform

Validate the Installation

Open a Shell session and run terraform -v. This should produce the following output.

terraform -v

[output]
Terraform v0.11.7