Terraform Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:
==Brew==
==Brew==


Note that is a bit complicated to switch between terraform version when Terraform is installed with brew. For that reason, if you need to often switch between version and return back to a specific version, install Terraform manually as shown below in "".
Note that is a bit complicated to switch between terraform version when Terraform is installed with brew. For that reason, if you need to often switch between version and return back to a specific version, install Terraform manually as shown below in "[[#Manual_Installation|Manual Installation]]".


  brew install terraform
  brew install terraform

Revision as of 22:15, 28 February 2020

External

Internal

Mac Installation

Brew

Note that is a bit complicated to switch between terraform version when Terraform is installed with brew. For that reason, if you need to often switch between version and return back to a specific version, install Terraform manually as shown below in "Manual Installation".

brew install terraform

Install a specific version

Follow the procedure described here, adjusted for terraform:

Install a Specific Version with brew

Manual Installation

Download from https://www.terraform.io/downloads.html.

Linux

wget https://releases.hashicorp.com/terraform/0.12.14/terraform_0.12.14_linux_amd64.zip
unzip terraform_0.12.14_linux_amd64.zip

This will create a simple "terraform" binary that can be placed anywhere on the PATH.