Skip to content

Conversation

@moko-poi
Copy link

@moko-poi moko-poi commented Oct 13, 2025

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.

More

  • Yes, I have tested the PR using my local account setup
  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecated attribute - data.aws_region.current.name when using v6 aws provider

1 participant