Install Terraform in Amazon Linux 2
- Get link
- X
- Other Apps
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.
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
Post a Comment