Difference between revisions of "Terraform install"
Jump to navigation
Jump to search
(Created page with "*Terrafprm installation* aaa") |
|||
| Line 1: | Line 1: | ||
| − | + | Terraform installation | |
| − | + | ||
| + | 1) prerequisiti | ||
| + | |||
| + | wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | tee /usr/share/keyrings/hashicorp-archive-keyring.gpg > /dev/null | ||
| + | |||
| + | 2) installazione | ||
| + | |||
| + | echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(grep -oP '(?<=UBUNTU_CODENAME=).*' /etc/os-release || lsb_release -cs) main" | tee /etc/apt/sources.list.d/hashicorp.list | ||
| + | |||
| + | 3) test | ||
| + | |||
| + | apt update | ||
| + | apt install terraform | ||
| + | terraform version | ||
| + | terraform -install-autocomplete | ||
Latest revision as of 18:35, 19 September 2026
Terraform installation
1) prerequisiti
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | tee /usr/share/keyrings/hashicorp-archive-keyring.gpg > /dev/null
2) installazione
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(grep -oP '(?<=UBUNTU_CODENAME=).*' /etc/os-release || lsb_release -cs) main" | tee /etc/apt/sources.list.d/hashicorp.list
3) test
apt update apt install terraform terraform version terraform -install-autocomplete