Error AtlasError Documentation and Resolution

Terraform no provider version matches the given constraints

No available releases match the given constraints.

Terraform reported that no provider version matches the current constraints because the configured version requirements are too restrictive, contradictory across modules, or incompatible with what the provider registry actually offers.

No provider version matches the given constraintsproviders
No available releases match the given constraints.
  • The configured provider version constraint is too narrow and excludes all available releases.
  • Different modules declared conflicting provider constraints that Terraform cannot satisfy simultaneously.
  • The dependency lock file or cached provider selections are pinning Terraform away from currently allowed versions.
  1. Review the `required_providers` version constraints in the root module and any child modules for contradictions or overly strict ranges.
  2. Relax the constraint to a supported range where appropriate, then run `terraform init -upgrade` to allow Terraform to select a valid release.
  3. Check the provider registry to confirm the versions that actually exist before deciding on the final constraint syntax.
  4. If a lock file is involved, review whether it needs to be updated to align with the new provider constraint strategy.
Version Constraints - Configuration Language
Terraform no provider version matches the given constraints: causes and fixes | Error Atlas