Thursday, August 3, 2023

How to install Terraform on Linux OS | Install Terraform on Ubuntu 22.0.4 | TerraForm Installation on Linux

Terraform is an open source infrastructure as code (IaC) tool developed by HashiCorp. It allows you to define, manage, and provision infrastructure resources in a cloud or on-premises environment using declarative configuration files. Terraform maintains the state of the infrastructure in a state file. 

Please find the steps for installing Terraform On Ubuntu 22.0.4 in AWS cloud.

Pre-requisites:

Go to HashiCorp Website

Copy steps from Linux-> Ubuntu/Debian


wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg

echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list

sudo apt update && sudo apt install terraform

Check Terraform version
terraform -version

this should show version of Terraform. As of Aug 3, 2023 version was
 
Terraform v1.5.4

Please watch the above steps as Demo in YouTube below: 

No comments:

Post a Comment

What is GitHub Advanced Security for Azure DevOps | Configure GitHub Advanced Security for Azure DevOps

GitHub Advanced Security for Azure DevOps brings the  secret scanning, dependency scanning  and  CodeQL code scanning  solutions already ava...