How To Install Terraform on Ubuntu 18.04 Server-DecodingDevOps

Steps To Install Terraform on Ubuntu 18.04 Server

terraform is one of the popular infrastructure as a code tool. Terraform is a tool that is used to manage your infrastructure. It is the one of the product of hasicorp. With terraform we can manage aws, azure, Google Cloud Platform and other cloud infrastructure providers. Terraform will use hasicorp configuration language called as HCL. In this recipe we are going to see how to install terraform on ubuntu 18.04 Server.

update the system packages

update the system packages with update command

sudo apt-get update -y

Download wget and unzip

install wget and unzip packages to download terraform

sudo apt-get install wget unzip -y

Download Terraform package

download terraform with below command

sudo wget https://releases.hashicorp.com/terraform/0.12.18/terraform_0.12.18_linux_amd64.zip

Unzip the terraform

sudo unzip terraform_0.12.18_linux_amd64.zip

Move terraform to bin folder

move terraform executables to bin folder

sudo mv terraform /usr/local/bin/

now we have succesfully installed terraform in ubuntu 18.04

Verify Terraform Version

verify terraform version with version command terraform -v

root@ip-172-31-37-35:~# terraform -v Terraform v0.12.18

  • How to install terraform o nubuntu 18.04
  • how to install terraform in ubuntu 16.04
  • install terraform on ubuntu 18.04 server
  • install terraform in ubuntu 16.04
  • terraform install in ubuntu server
  • ubuntu install terraform
  • install terraform ubuntu terminal
  • install terraform cli ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *