Installing Terraform on Local Linux Machine

Go to the official download page: https://www.terraform.io/downloads.html

Once the download link is copied, let's go to our local machines terminal and use wget command to download it to our local folder.

Now let's unzip the package to the location /usr/local/bin/ , We can use the below command from where we have downloaded the package

Now let's verify whether the installation successful or not using the command terraform version

Additional notes: Configuring AWS credentials in our local machine. So we don't have to specify the security credentials each time we run terraform to provision resources. For this, we use the aws configure.

First, let's install AWS CLI into our local system by following the steps mentioned in the AWS documentation https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html

Now let's store our key in the local machine using the command aws configure