Sunday, August 6, 2023

How to install Terraform on RedHat Linux OS | Install Terraform on CentOS/Red Hat Linux(RHEL) | 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 Red Hat Enterprise Linux or CentOS in AWS cloud.

Pre-requisites:

Red Hat EC2 instance is already up and running

Go to HashiCorp Website

Copy steps for Linux under CentOS/RHEL


sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
sudo yum -y 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 in action below:

No comments:

Post a Comment

How to create Ubuntu 22.0.4 Virtual Machine (VM) in Azure? | Create Ubuntu 22.0.4 VM in Azure | How to connect to Azure VM from your local machine

 How to Create Ubuntu 22.0.4 Virtual Machines(VM) in Azure portal? Creating Virtual Machine is easy and straight forward in Azure Cloud. Let...