Linux/Terraform: Difference between revisions

From Wiki
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Install Ubuntu Repository ==
== Install Ubuntu Repository ==
<pre>
<pre>
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/docker.gpg
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/terraform.gpg
 
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"


sudo apt update
sudo apt update
sudo apt install terraform
sudo apt install terraform
</pre>
<pre>
#deprecated curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
</pre>
</pre>


== Manual Installation ==
* Latest version: https://checkpoint-api.hashicorp.com/v1/check/terraform
<pre>
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
</pre>


== Links ==
== Links ==

Latest revision as of 13:29, 3 December 2023

Install Ubuntu Repository

wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/terraform.gpg
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"

sudo apt update
sudo apt install terraform


Links