Terraform: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
sudo apt update  && sudo apt list  --upgradeable
sudo apt update  && sudo apt list  --upgradeable
sudo apt upgrade && sudo apt install terraform
sudo apt upgrade && sudo apt install terraform
terraform version
</source>
</source>



Revision as of 03:53, 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 upgrade && sudo apt install terraform
terraform version

References