Error AtlasError Documentation and Resolution

Terraform provider checksum does not match the dependency lock file

Error: Failed to install provider. The current package for a provider version doesn't match any of the checksums previously recorded in the dependency lock file.

Terraform refused to install a provider because the package checksum did not match what was recorded in .terraform.lock.hcl for that provider version.

the current package doesn't match any of the checksums previously recorded in the dependency lock fileproviders
Error: Failed to install provider. The current package for a provider version doesn't match any of the checksums previously recorded in the dependency lock file.
  • The provider package differs from the checksums recorded in .terraform.lock.hcl.
  • The lock file was generated in a different installation context or against a different provider source.
  • A mirrored or replaced provider package does not match the official checksums Terraform expects.
  1. Review the provider source and version recorded in the dependency lock file.
  2. If the change is intentional, refresh the lock file using the appropriate Terraform workflow.
  3. If it is not intentional, investigate why the downloaded provider differs from the expected package.
HashiCorp Developer: Dependency Lock File
Terraform provider checksum mismatch lock file: causes and fixes | Error Atlas