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.

@github-actions
Copy link

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 github-actions bot added the stale label Nov 13, 2025
@github-actions
Copy link

Pull request closed due to inactivity.

@github-actions github-actions bot closed this Nov 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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