Wrong S3 bucket website_endpoint and website_domain attributes in China regions #9378
Labels
bug
Addresses a defect in current functionality.
partition/aws-cn
Pertains to the aws-cn partition.
service/s3
Issues and PRs that pertain to the s3 service.
Milestone
Community Note
Terraform Version
Terraform v0.12.4
provider.aws v2.19.0
Affected Resource(s)
Terraform Configuration Files
A simple bucket:
Expected Behavior
The proper endpoint is
http://<bucket>.s3-website.cn-northwest-1.amazonaws.com.cn
Actual Behavior
Terraform is missing the .cn at the end of the domain for the website_endpoint and website_domain attributes. For comparison - bucket_regional_domain_name has a proper value.
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: