-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix: Replace deprecated aws_region data source name attribute #581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Replace deprecated aws_region data source name attribute #581
Conversation
…gion.current.region The name attribute of the aws_region data source has been deprecated in favor of the region attribute. This change updates the reference in the IRSA module to use the current recommended attribute. Signed-off-by: atilsensalduz <[email protected]>
…gion.current.region The name attribute of the aws_region data source has been deprecated in favor of the region attribute. This change updates the reference in the IRSA module to use the current recommended attribute. Signed-off-by: atilsensalduz <[email protected]>
…gion.current.region The name attribute of the aws_region data source has been deprecated in favor of the region attribute. This change updates the reference in the IRSA module to use the current recommended attribute. Signed-off-by: atilsensalduz <[email protected]>
…gion.current.region The name attribute of the aws_region data source has been deprecated in favor of the region attribute. This change updates the reference in the IRSA module to use the current recommended attribute. Signed-off-by: atilsensalduz <[email protected]>
…gion.current.region The name attribute of the aws_region data source has been deprecated in favor of the region attribute. This change updates the reference in the IRSA module to use the current recommended attribute. Signed-off-by: atilsensalduz <[email protected]>
…gion.current.region The name attribute of the aws_region data source has been deprecated in favor of the region attribute. This change updates the reference in the IRSA module to use the current recommended attribute. Signed-off-by: atilsensalduz <[email protected]>
…gion.current.region The name attribute of the aws_region data source has been deprecated in favor of the region attribute. This change updates the reference in the IRSA module to use the current recommended attribute. Signed-off-by: atilsensalduz <[email protected]>
…gion.current.region The name attribute of the aws_region data source has been deprecated in favor of the region attribute. This change updates the reference in the IRSA module to use the current recommended attribute. Signed-off-by: atilsensalduz <[email protected]>
…gion.current.region The name attribute of the aws_region data source has been deprecated in favor of the region attribute. This change updates the reference in the IRSA module to use the current recommended attribute. Signed-off-by: atilsensalduz <[email protected]>
…gion.current.region The name attribute of the aws_region data source has been deprecated in favor of the region attribute. This change updates the reference in the IRSA module to use the current recommended attribute. Signed-off-by: atilsensalduz <[email protected]>
…gion.current.region The name attribute of the aws_region data source has been deprecated in favor of the region attribute. This change updates the reference in the IRSA module to use the current recommended attribute. Signed-off-by: atilsensalduz <[email protected]>
…gion.current.region The name attribute of the aws_region data source has been deprecated in favor of the region attribute. This change updates the reference in the IRSA module to use the current recommended attribute. Signed-off-by: atilsensalduz <[email protected]>
…gion.current.region The name attribute of the aws_region data source has been deprecated in favor of the region attribute. This change updates the reference in the IRSA module to use the current recommended attribute. Signed-off-by: atilsensalduz <[email protected]>
I think theres a few more changes we'll want to make since its a breaking change. its on the list and we'll get to it soon |
thank you! @bryantbiggs I'm also interested in contributing to upgrades for the remaining modules. |
thank you but this upgrade cycle is a bit more involved for the modules hosted here - you can see more at #585 |
This issue has been resolved in version 6.0.0 🎉 |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Replaces the deprecated
data.aws_region.current.name
withdata.aws_region.current.region
in the IAM Role for Service Accounts EKS module.Description
modules/iam-role-for-service-accounts-eks/main.tf
to use the non-deprecatedregion
attribute instead ofname
Motivation and Context
The
name
attribute of theaws_region
data source has been deprecated by the AWS provider. This change ensures compatibility with current and future versions of the AWS provider.https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region#name-1
fix: #574