====== Activité : Installer Terraform sur un OS Debian ======
===== Ressources =====
* https://hub.docker.com/r/hashicorp/terraform
* https://developer.hashicorp.com/terraform/downloads
* https://linuxpip.org/lsb_release-command-not-found-fix/
===== Installation sur uen Debian 11 (Bullseye)=====
* Installation de **Terraform**
# apt update && apt upgrade
# apt install gpg
# wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
# echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com bullseye main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
# apt update && apt install terraform
* Installez, si nécessaire, les **wget** et **unzip** :
# apt install -y wget unzip
* **Vérifiez** l'installation de Terraform
# terraform -v
Terraform v1.5.2
on linux_amd64
* activer l'**autocomplétion** des commandes Terraform :
# terraform -install-autocomplete
Puis se déconnecter et se reconnecter.
* Obtenir de **l'aide**
# terraform -help
# terraform -help plan
===== Retour au menu Réseau =====
* [[reseau:cloud:terraform:accueil|Terraform]]