🥳🥳Launch week sale🥳🥳75% off all exams for a limited time celebrating our launch!!
75% off$39 $9.75Shop the sale
HashiCorp Certified: Terraform Authoring and Operations Professional ยท free preview Question 1 of 10

A platform team maintains a Terraform 1.6 root module for AWS. The module has recently been changed to require the AWS provider version ~> 5.0 instead of ~> 4.0:

terraform {
  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "~> 5.0"
    }
  }
}

The repository already contains a committed .terraform.lock.hcl file that pins hashicorp/aws to a 4.x version. A CI job runs terraform init and then terraform plan, but init fails because the locked provider version does not satisfy the new constraint.

The team wants CI to update the dependency selections to versions allowed by the current configuration while still using the normal provider installation workflow. Which command should the CI job run?

An unhandled error has occurred. Reload ๐Ÿ—™

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.