terraform-provider-aws: bucket_regional_domain_name does not contain the region

Community Note

  • Please vote on this issue by adding a πŸ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave β€œ+1” or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform CLI and Terraform AWS Provider Version

Affected Resource(s)

  • aws_s3_bucket

Expected Behavior

bucket_regional_domain_name should contain a region i.e.

<bucket-name>.s3.us-east-1.amazonaws.com

Actual Behavior

However it doesn’t, it is the same value as bucket_domain_name i.e.

<bucket-name>.s3.amazonaws.com

Steps to Reproduce

Create an S3 bucket with terraform

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 51
  • Comments: 17 (2 by maintainers)

Most upvoted comments

Terraform v0.13.5
+ provider registry.terraform.io/hashicorp/aws v3.40.0

Same issue, but only the buckets created in the us-east-1 region are affected.

Bucket in us-east-2 is βœ”οΈ:

Changes to Outputs:
  + bucket_regional_domain_name = "xxx-xxx-xxx.s3.us-east-2.amazonaws.com"

Bucket in us-west-2 is βœ”οΈ:

Changes to Outputs:
  + bucket_regional_domain_name = "xxx-xxx-xxx.s3.us-west-2.amazonaws.com"

Bucket in us-east-1is ❌:

Changes to Outputs:
  + bucket_regional_domain_name = "xxx-xxx-xxx.s3.amazonaws.com"

hashicorp/aws v4.54.0 still having this issue

hashicorp/aws v4.14.0 still stumbling on this

We also have this issue, provider version 3.63.0 for us-east-1 region.

I am also having this issue.