Error AtlasError Documentation and Resolution

Terraform dependency lock file is inconsistent with provider constraints

Locked provider version does not match configured version constraint; must use terraform init -upgrade to allow selection of new versions.

Terraform found that the provider version pinned in the dependency lock file no longer satisfies the configured provider version constraints.

locked provider does not match configured version constraintproviders
Locked provider version does not match configured version constraint; must use terraform init -upgrade to allow selection of new versions.
  • The provider version constraint changed after the lock file was created.
  • A module or provider upgrade introduced a newer required version.
  • The current .terraform.lock.hcl selection is stale relative to the configuration.
  1. Review the provider version constraints in the Terraform configuration.
  2. Check the locked provider version recorded in .terraform.lock.hcl.
  3. Run terraform init -upgrade if you want Terraform to select a new compatible provider version.
HashiCorp Developer: Initialize Terraform configuration
Terraform lock file does not match configured version constraint | Error Atlas