Ce contenu est protégé, veuillez Connexion et vous inscrire au cours pour voir ce contenu !
2 Commentaires
Ben
sur 25 avril 2025 à 14 h 53 min
Bonjour,
Pour information, j’ai la version de terraform « 1.11.4 » et ça ne fonctionne pas. Voici ma trace erreur:
$ terraform init
Initializing the backend…
Successfully configured the backend « s3 »! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing modules…
– ec2 in ..\modules\ec2module
╷
│ Error: Unsupported Terraform Core version
│
│ on main.tf line 9, in terraform:
│ 9: required_version = « 1.9.4 »
│
│ This configuration does not support Terraform version 1.11.4. To proceed, either choose another supported Terraform version or update this
│ version constraint. Version constraints are normally set for good reason, so updating the constraint may lead to other errors or unexpected
│ behavior.
╵
Blondel Aurelie Nguedjang Kamgang
sur 2 mai 2025 à 16 h 46 min
Bonjour
Vous utilisez Terraform 1.11.4, mais le fichier main.tf demande spécifiquement la version 1.9.4. Pour corriger cela, installez Terraform 1.9.4 ou modifiez la ligne required_version = « 1.9.4 » à required_version = « 1.11.4 » si vous êtes sûr que le code est compatible avec la 1.11.4
Bonjour,
Pour information, j’ai la version de terraform « 1.11.4 » et ça ne fonctionne pas. Voici ma trace erreur:
$ terraform init
Initializing the backend…
Successfully configured the backend « s3 »! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing modules…
– ec2 in ..\modules\ec2module
╷
│ Error: Unsupported Terraform Core version
│
│ on main.tf line 9, in terraform:
│ 9: required_version = « 1.9.4 »
│
│ This configuration does not support Terraform version 1.11.4. To proceed, either choose another supported Terraform version or update this
│ version constraint. Version constraints are normally set for good reason, so updating the constraint may lead to other errors or unexpected
│ behavior.
╵
Bonjour
Vous utilisez Terraform 1.11.4, mais le fichier main.tf demande spécifiquement la version 1.9.4. Pour corriger cela, installez Terraform 1.9.4 ou modifiez la ligne required_version = « 1.9.4 » à required_version = « 1.11.4 » si vous êtes sûr que le code est compatible avec la 1.11.4