Installation of Terraform

Terraform: Terraform is an open-source infrastructure as code software tool that enables you to safely and predictably create, change, and improve infrastructure.

what is Terraform is used for: Terraform is an IAC tool, used primarily by DevOps teams to automate various infrastructure tasks. The provisioning of cloud resources, for instance, is one of the main use cases of Terraform. It is a open-source provisioning tool written in the Go language and created by HashiCorp.

  • To install Terraform, use the following link to download the zip file.

  • As per our requirment we have to install a specific version which is 0.14.10.

  • Install the unzip.

$ sudo apt-get install unzip
  • Extract the downloaded file archive.

  • Move the executable into a directory searched for executables.

sudo mv terraform /usr/local/bin/
  • Run the below command to check whether the terraform is working.

terraform --version

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.