HashiCorp
TERRAFORM-ASSOCIATE-003 · Question #6
As a developer, you want to ensure your plugins are up to date with the latest versions. Which Terraform command should you use?
The correct answer is C. terraform init -upgrade. This command will upgrade the plugins to the latest acceptable version within the version constraints specified in the configuration. The other commands do not have an -upgrade option.
Tools for Test Analysts
Question
As a developer, you want to ensure your plugins are up to date with the latest versions. Which Terraform command should you use?
Options
- Aterraform refresh -upgrade
- Bterraform apply -upgrade
- Cterraform init -upgrade
- Dterraform providers -upgrade
How the community answered
(26 responses)- A12% (3)
- B8% (2)
- C77% (20)
- D4% (1)
Explanation
This command will upgrade the plugins to the latest acceptable version within the version constraints specified in the configuration. The other commands do not have an -upgrade option.
Topics
#Terraform#terraform init#plugins#upgrade
Community Discussion
No community discussion yet for this question.