terraform-aws-eks-blueprints-addons icon indicating copy to clipboard operation
terraform-aws-eks-blueprints-addons copied to clipboard

fix: Replace deprecated aws_region.name attribute for AWS Provider v6 compatibility

Open moko-poi opened this issue 1 month ago • 1 comments

What does this PR do?

Replaces deprecated data.aws_region.current.name with data.aws_region.current.id to fix AWS Provider v6 compatibility warnings.

Motivation

AWS Provider v6 deprecated the name attribute in favor of id. This change eliminates deprecation warnings and ensures compatibility with future provider versions.

  • Resolves #471

More

  • [x] Yes, I have tested the PR using my local account setup
  • [x] Yes, I ran pre-commit run -a with this PR

For Moderators

  • [ ] E2E Test successfully complete before merge?

Additional Notes

Tested with AWS Provider v6.13.0. The id attribute returns identical values to the deprecated name attribute, so this is a drop-in replacement with no behavioral changes.

moko-poi avatar Oct 13 '25 09:10 moko-poi

This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days

github-actions[bot] avatar Nov 13 '25 00:11 github-actions[bot]

Pull request closed due to inactivity.

github-actions[bot] avatar Nov 23 '25 00:11 github-actions[bot]