Skip to content
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(region-info): incorrect S3 static website endpoint for us-gov-west-1 #10920

Merged
merged 5 commits into from
Oct 26, 2020
Merged

fix(region-info): incorrect S3 static website endpoint for us-gov-west-1 #10920

merged 5 commits into from
Oct 26, 2020

Conversation

PatMyron
Copy link
Contributor

s3-website-us-gov-west-1.amazonaws.com
us-gov-west-1 announced in Aug 2011
#4584

registerFact(region, 'S3_STATIC_WEBSITE_ENDPOINT', AWS_OLDER_REGIONS.has(region)
? `s3-website-${region}.${domainSuffix}`
: `s3-website.${region}.${domainSuffix}`);


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link

gitpod-io bot commented Oct 17, 2020

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 224d8b8
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Copy link
Contributor

@shivlaks shivlaks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change seems fine to me.

could you reword the title to indicate what's not working as it's our convention for fixes.
Rationale: when it shows up in the Bug Fixes section of the CHANGELOG in the next release - the line item describes the problem that was fixed.

@@ -426,7 +426,7 @@ Object {
"cdkMetadataResourceAvailable": false,
"domainSuffix": "amazonaws.com",
"partition": "aws-us-gov",
"s3StaticWebsiteEndpoint": "s3-website.us-gov-west-1.amazonaws.com",
"s3StaticWebsiteEndpoint": "s3-website-us-gov-west-1.amazonaws.com",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this endpoint incorrect previously?

Copy link
Contributor Author

@PatMyron PatMyron Oct 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

according to the documentation at least

@PatMyron PatMyron changed the title fix(region-info): add us-gov-west-1 to AWS_OLDER_REGIONS fix(region-info): add us-gov-west-1 to AWS_OLDER_REGIONS to correct S3_STATIC_WEBSITE_ENDPOINT Oct 26, 2020
@shivlaks shivlaks changed the title fix(region-info): add us-gov-west-1 to AWS_OLDER_REGIONS to correct S3_STATIC_WEBSITE_ENDPOINT fix(region-info): incorrect S3 static website endpoint for us-gov-west-1 Oct 26, 2020
@mergify
Copy link
Contributor

mergify bot commented Oct 26, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit dde9c55 into aws:master Oct 26, 2020
@PatMyron PatMyron deleted the patch-2 branch October 26, 2020 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants