La configuration du labo
Pour être un maître de l'IaC, vous avez besoin d'une configuration de terminal solide. Nous recommandons d'utiliser Linux (Ubuntu/Debian) ou macOS. Si vous êtes sur Windows, utilisez WSL2.
1. Installer OpenTofu
Vous pouvez l'installer via un script : bash curl --proto '=https' --tlsv1.2 -fsSL https://get.opentofu.org/install-opentofu.sh -o install-opentofu.sh chmod +x install-opentofu.sh ./install-opentofu.sh --install-method standalone rm install-opentofu.sh
2. Vérifier l'installation
bash tofu --version
3. Installer un éditeur de code
VS Code est le standard de l'industrie. Installez l'extension 'HashiCorp Terraform' pour la coloration syntaxique.