The AWS provider is version 6.69.0
CommonA run of terraform init -upgrade, or a version constraint such as ~> 6.0 without a lock file, selected 6.69.0, the only release with the regression.
Confirm
terraform version grep -A2 'registry.terraform.io/hashicorp/aws' .terraform.lock.hcl
hashicorp/aws v6.69.0, or version = "6.69.0" in the lock file
Fix
- Upgrade the provider: run
terraform init -upgrade, which selects the newest version your constraints allow (6.69.1 or later), and commit the updated .terraform.lock.hcl. - If your constraint pins exactly 6.69.0, change it, for example to
version = ">= 6.44.0, != 6.69.0", then runterraform init -upgrade. - In CI, make sure the job uses the committed lock file, so a cached 6.69.0 cannot come back.
terraform init -upgrade
Then commit .terraform.lock.hcl. OpenTofu: tofu init -upgrade.