Tuesday, August 25, 2020

How to install Terraform on Ubuntu 22.0.4 | TerraForm Installation on 22.0.4

Terraform is used for provisioning infrastructure on Cloud. You don't need to create manually any resource in AWS. Please find steps for installing Terraform On Ubuntu 22.0.4.

Create a working directory
sudo mkdir -p /opt/terraform
cd /opt/terraform

Download Terraform from HasiCorp website
sudo wget https://releases.hashicorp.com/terraform/1.5.4/terraform_1.5.4_linux_386.zip

Install unzip utility
sudo apt-get install unzip -y

Unzip Terraform Zip file
sudo unzip terraform_1.5.4_linux_386.zip

Add terraform to PATH
sudo mv /opt/terraform/terraform /usr/bin/

terraform -version
this should show version of Terraform.
 
Terraform v1.5.4

Please watch the above steps as Demo in YouTube below:

1 comment:

  1. I am getting below error:

    openssl s_client -showcerts -verify 32 -connect registry.terraform.io:443

    Kindly help me to get this resolved.

    Is there any way to bypass certification verification. ?

    ReplyDelete

DevOps Bootcamp Oct 2024 Schedule | DevOps & AWS Azure Cloud Coaching by Coach AK | DevOps and Cloud Computing Online Classes

  (Lot of new topics covered like GitHub Actions, Helm, Prometheus and Grafana..) The DevOps requirements in the IT market space is expected...