Saturday, April 25, 2020

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

Please find steps for installing Terraform on Ubuntu EC2. You can install Terraform on any of your existing Jenkins Ubuntu EC2 instances.

Terraform is used for provisioning infrastructure on Cloud. you don't need to create manually any resource in AWS.

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

Download Terraform from HasiCorp website
sudo wget

Install unzip utility
sudo apt-get install unzip -y

Unzip Terraform Zip file
sudo unzip
Add terraform to PATH
sudo mv /opt/terraform/terraform /usr/bin/
Verify Terraform version
terraform -version
this should show version of Terraform.
Terraform v1.4.6

No comments:

Post a Comment