Difference between revisions of "Terraform installation"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
  
 
* Linux:
 
* Linux:
**<code>sudo [[apt-get update]] && sudo apt-get install -y [[gnupg]] [[software-properties-common]] [[curl]]</code>
+
sudo [[apt-get update]] && sudo apt-get install -y [[gnupg]] [[software-properties-common]] [[curl]]
**<code>[[curl -fsSL]] https://apt.releases.hashicorp.com/gpg | sudo [[apt-key add]] -</code>
+
[[curl -fsSL]] https://apt.releases.hashicorp.com/gpg | sudo [[apt-key add]] -
**<code>sudo [[apt-add-repository]] "deb [arch=amd64] https://apt.releases.hashicorp.com $([[lsb_release -cs]]) main"</code>
+
sudo [[apt-add-repository]] "deb [arch=amd64] https://apt.releases.hashicorp.com $([[lsb_release -cs]]) main"
**<code>sudo [[apt-get -qq update]] && sudo [[apt-get install terraform]] && [[terraform -v]]</code>
+
sudo [[apt-get -qq update]] && sudo [[apt-get install terraform]] && [[terraform -v]]
  
 
Ref: https://learn.hashicorp.com/tutorials/terraform/install-cli
 
Ref: https://learn.hashicorp.com/tutorials/terraform/install-cli

Revision as of 11:31, 20 December 2023

Advertising: