github cloudposse/terraform-aws-eks-cluster v4.15.1

one hour ago

🐛 Bug Fixes

fix: require Terraform >= 1.5.0 for the check block @sarankumar1325 (#267) ## what
  • Raise required_version from >= 1.3.0 to >= 1.5.0 in versions.tf and examples/complete/versions.tf.

why

  • main.tf declares check "auto_mode_consistency" { ... }. Terraform added check blocks in 1.5.0.
  • With the old floor, Terraform 1.3.x and 1.4.x pass the version check and then fail with a parse error that doesn't point to the real cause:
Error: Unsupported block type
  on main.tf line 34:
  34: check "auto_mode_consistency" {
Blocks of type "check" are not expected here.
  • With >= 1.5.0, those versions get the clear "Unsupported Terraform Core version" message instead.
  • README.md is left alone because the readme bot regenerates its requirements table.

Checked locally with terraform init -backend=false and terraform validate:

  • Terraform 1.3.10 and 1.4.7 fail on main with the error above.
  • Terraform 1.5.7 passes for the root module and for examples/complete.
  • terraform fmt -check -recursive is clean.

references

Don't miss a new terraform-aws-eks-cluster release

NewReleases is sending notifications on new releases.