Install Terraform in Amazon Linux 2

How To Install Terraform on Amazon Linux 2? 

Hi Everyone✋, 

In this blog we will see how to install terraform on Amazon Linux 2 in a easy way. As I mentioned in my pervious blog Roadmap To become DevOps Engineer , we can start our DevOps carrier with IAAC (Infra structure As A Code ) tool Terraform by HashiCorp . πŸ’’

This will be your first step🎲 to ready your DevOps Setup , you can configure terraform tool at your own personal Laptops On premise servers Or Cloud servers as well. 🎯

So lets get started , πŸ‘»πŸ‘»

Install Terraform on Amazon Linux 2. 

πŸ‘‰The very first step is Install yum -config-manager to manage your repositories in your server.

sudo yum install -y yum-utils

πŸ‘‰Then Use yum-config-manager to add the official HashiCorp Linux repository.

sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo

πŸ‘‰Then you can install with following command.

sudo yum -y install terraform

πŸ‘‰After installation verify your terraform configuration with following command.

terraform -help

πŸ‘πŸ‘Œ(Optional)I also recommend to enable tab completion for Terraform commands. To enable autocomplete, run the following command and then restart your shell.

terraform -install-autocomplete


Huuuhhh..😀😀Here it is !! We have done Terraform configuration in Amazon Linux 2 very easily.😎😎

Now, You can run your terraform commands and deploy infrastructure on AWS cloud as well as AZURE and GCP. πŸ’­πŸ‘½

Thanks you for reading this article.πŸ’—πŸ’›

Keep Reading and Keep Sharing...πŸ‘πŸ’¬

For more DevOps Stuff visit πŸ’₯scripterra.blogspot.comπŸ’₯

Comments

Popular posts from this blog

System Administrator to DevOps Engineer Roadmap - Level 1

Roadmap for DevOps Engineer - Level 2