Install Terraform in Linux CentOS 7

From Gejoreuy
Revision as of 14:20, 3 August 2021 by Gejor (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Step by Step

Install yum-config-manager to manage our repositories.

root@gejoreuy:~# yum install -y yum-utils

Use yum-config-manager to add the official HashiCorp Linux repository.

root@gejoreuy:~# yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo

Install Terraform.

root@gejoreuy:~# yum -y install terraform

Check Terraform version to make sure installation is successfully.

root@gejoreuy:~# terraform version