Terraform: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== References == {| | valign="top" | * [https://www.terraform.io/cli/install/apt Terraform CLI Packages for Ubuntu] | valign="top" | | valign="top" | |- | colspan="3" | ---...") |
No edit summary |
||
Line 1: | Line 1: | ||
<source lang="bash"> | |||
wget -qO - terraform.gpg https://apt.releases.hashicorp.com/gpg\ | |||
| sudo gpg --dearmor -o /usr/share/keyrings/terraform-archive-keyring.gpg | |||
sudo echo "deb [arch=$(dpkg --print-architecture)\ | |||
signed-by=/usr/share/keyrings/terraform-archive-keyring.gpg]\ | |||
https://apt.releases.hashicorp.com $(lsb_release -cs) main" > /etc/apt/sources.list.d/terraform.list | |||
sudo apt update && sudo apt list --upgradeable | |||
sudo apt update && sudo apt install terraform | |||
</source> | |||
== References == | == References == | ||
{| | {| |
Revision as of 03:46, 1 June 2022
wget -qO - terraform.gpg https://apt.releases.hashicorp.com/gpg\
| sudo gpg --dearmor -o /usr/share/keyrings/terraform-archive-keyring.gpg
sudo echo "deb [arch=$(dpkg --print-architecture)\
signed-by=/usr/share/keyrings/terraform-archive-keyring.gpg]\
https://apt.releases.hashicorp.com $(lsb_release -cs) main" > /etc/apt/sources.list.d/terraform.list
sudo apt update && sudo apt list --upgradeable
sudo apt update && sudo apt install terraform
References
| ||