[Enhancement]: aws_s3_bucket_website_configuration
does not export hosted_zone_id
#37509
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/s3
Issues and PRs that pertain to the s3 service.
Description
The website configuration on
aws_s3_bucket
is listed as deprecated and it is recommended to useaws_s3_bucket_website_configuration
. The website_configuration resource has awebsite_domain
attribute that it says is used in creating alias records, however the hosted_zone_id is also required to create alias records. Both attributes are available with the deprecated features but you have to do some workarounds to get the data from both resources, especially if you are creating multiple buckets with a single resource.Affected Resource(s) and/or Data Source(s)
No response
Potential Terraform Configuration
No response
References
#24313
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: