-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(route53): use static s3 website endpoint #4250
Conversation
Thanks so much for taking the time to contribute to the AWS CDK ❤️ We will shortly assign someone to review this pull request and help get it
|
@@ -48,5 +41,26 @@ This library contains Route53 Alias Record targets for: | |||
// or - route53.RecordTarget.fromAlias(new alias.ApiGatewayDomainName(domainName)), | |||
}); | |||
``` | |||
* S3 Bucket WebSite: | |||
|
|||
**Important:** The Bucket name must strictly match the full DNS name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to further improve the user experience and check in aws-route53
that the Bucket name matches RecordSet
and HostedZone
. How do you guys feel about that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll make another PR for it 👍
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please provide some more details in the PR description. For bugs it should include the problem and the solution.
@@ -48,5 +41,26 @@ This library contains Route53 Alias Record targets for: | |||
// or - route53.RecordTarget.fromAlias(new alias.ApiGatewayDomainName(domainName)), | |||
}); | |||
``` | |||
* S3 Bucket WebSite: | |||
|
|||
**Important:** The Bucket name must strictly match the full DNS name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it!
Thank you for contributing! Your pull request is now being automatically merged. |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thanks for the quick response @eladb 👍 |
* fix(route53): use static s3 website endpoint * chore: detailed s3 target example * chore: match test bucketName with generated records
DnsName
shouldn't target the bucket website domain name.Instead,
DnsName
must point to the region-wide S3 endpoint,and the bucket name must match the full DNS record
bucketWebsiteDomainName
withs3StaticWebsiteEndpoint
Fixes #4248
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license