Skip to content

fix: Updating aws_region.current attribute reference 'region' to 'id'#742

Closed
tnweiss wants to merge 1 commit into
terraform-aws-modules:masterfrom
tnweiss:bugfix/aws_region_fix
Closed

fix: Updating aws_region.current attribute reference 'region' to 'id'#742
tnweiss wants to merge 1 commit into
terraform-aws-modules:masterfrom
tnweiss:bugfix/aws_region_fix

Conversation

@tnweiss

@tnweiss tnweiss commented Apr 9, 2026

Copy link
Copy Markdown

Description

AWS Terraform provider version 6.0+ has removed the region attribute from the aws_region data source. See here: https://registry.terraform.io/providers/hashicorp/aws/6.40.0/docs/data-sources/region#attribute-reference

Motivation and Context

This has caused issues upgrading to Terraform AWS provider version 6

Breaking Changes

N/A

How Has This Been Tested?

Tested locally, will provide details here shortly.

@tnweiss tnweiss changed the title Fixing aws_region 'region' reference fix: aws_region.current 'region' -> 'id' reference Apr 9, 2026
@tnweiss tnweiss changed the title fix: aws_region.current 'region' -> 'id' reference fix: Updating aws_region.current attribute reference 'region' to 'id' Apr 9, 2026
AWS Terraform provider version 6.0+ has removed the `region` attribute from the aws_region data source.
@tnweiss tnweiss force-pushed the bugfix/aws_region_fix branch from 8570611 to e89c4e6 Compare April 9, 2026 21:29
@tnweiss tnweiss closed this Apr 10, 2026
@github-actions

Copy link
Copy Markdown

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.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant