Terraform CLI
Terraform dependency lock file is inconsistent with provider constraints
Terraform found that the provider version pinned in the dependency lock file no longer satisfies the configured provider version constraints.
Terraform CLI
Terraform found that the provider version pinned in the dependency lock file no longer satisfies the configured provider version constraints.
Observed message
Locked provider version does not match configured version constraint; must use terraform init -upgrade to allow selection of new versions.
Why it happens
How to fix it
Official reference
HashiCorp Developer: Initialize Terraform configurationRelated errors
Explore more