nerdexam
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)
  • A
    12% (3)
  • B
    8% (2)
  • C
    77% (20)
  • D
    4% (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.

Full TERRAFORM-ASSOCIATE-003 Practice