Error AtlasError Documentation and Resolution

Terraform CLI version does not satisfy the configuration constraint

Error: Unsupported Terraform Core version

Terraform refused to initialize because the current CLI version does not match the configuration's required_version constraint.

Unsupported Terraform Core versioninstallation
Error: Unsupported Terraform Core version
  • The installed Terraform CLI version is newer or older than the configuration allows.
  • The required_version constraint is pinned too narrowly for the team's current CLI version.
  • A project was upgraded on one machine while another environment still uses a different Terraform version.
  1. Check the required_version constraint in the terraform block and compare it with terraform version output.
  2. Install a Terraform CLI version that satisfies the declared constraint.
  3. Only broaden the version constraint if the configuration is actually compatible with the newer version.
Terraform: Manage Terraform versions
Terraform Unsupported Terraform Core version: causes and fixes | Error Atlas