Linux/Terraform: Difference between revisions

From Wiki
No edit summary
mNo edit summary
Line 1: Line 1:
== Installation ==
== Install Ubuntu Repository ==
<pre>
sudo apt update
sudo apt install -y gnupg software-properties-common curl
 
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
 
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
 
sudo apt update
sudo apt install terraform
</pre>
 
 
== Manual Installation ==
* Latest version: https://checkpoint-api.hashicorp.com/v1/check/terraform
* Latest version: https://checkpoint-api.hashicorp.com/v1/check/terraform
<pre>
<pre>

Revision as of 18:17, 8 December 2021

Install Ubuntu Repository

sudo apt update
sudo apt install -y gnupg software-properties-common curl

curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -

sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"

sudo apt update
sudo apt install terraform


Manual Installation

wget https://releases.hashicorp.com/terraform/0.11.14/terraform_0.11.14_linux_amd64.zip
unzip terraform_0.11.14_linux_amd64.zip
sudo mv terraform /usr/local/bin/
terraform --version 

Links