QuestionQ6

Core Terraform workflow

As a developer, you want to make sure your plugins are current with the latest versions.

Which Terraform command should you run?

  • A terraform apply -upgrade
  • B terraform providers -upgrade
  • C terraform init -upgrade
  • D terraform refresh -upgrade
Explanation

terraform init -upgrade upgrades previously selected provider plugins to the newest versions allowed by the configuration’s version constraints, updating the dependency selections in the lock file as applicable.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!