region-info: incorrect endpoint for s3-static-site in eu-west-1 #4573
Labels
@aws-cdk/region-info
Related to AWS Region information
bug
This issue is a bug.
in-progress
This issue is being actively worked on.
The s3-static-site endpoint included in the region-info package for eu-west-1 is incorrect, making deployments fail when trying to target it in a DNS record.
Included:
s3-website.eu-west-1.amazonaws.com
Correct:
s3-website-eu-west-1.amazonaws.com
See: https://docs.aws.amazon.com/general/latest/gr/rande.html
Reproduction Steps
Using region eu-west-1, configure a bucket and a custom DNS record (requires an already created hosted zone), and deploy:
Error Log
Tried to create an alias that targets s3-website.eu-west-1.amazonaws.com., type A in zone , but the alias target name does not lie within the target zone.
Environment
Other
As a workaround, register the correct endpoint with the Facts object:
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: