QuestionQ105

Core Terraform workflow

You have just upgraded a provider version in an existing Terraform configuration. What will install the new provider?

  • A Run terraform plan.
  • B Run terraform apply.
  • C Run terraform init -upgrade.
  • D Run terraform refresh.
Explanation

terraform init -upgrade reinitializes the working directory, selects the newest provider version that satisfies the configured version constraint, installs it, and updates the dependency lock file. HashiCorp Terraform CLI documentation

Learn more

Community Discussion

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