Skip to content

Commit

Permalink
fix(region-info): incorrect S3 static website endpoint for us-gov-wes…
Browse files Browse the repository at this point in the history
…t-1 (#10920)

[`s3-website-us-gov-west-1.amazonaws.com`](https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/using-govcloud-endpoints.html)
[`us-gov-west-1` announced in Aug 2011](https://aws.amazon.com/blogs/aws/new-aws-govcloud-us-region/)
#4584

https://github.com/aws/aws-cdk/blob/36fea2824787f47692e78fb5de063f89f5c7da5d/packages/%40aws-cdk/region-info/build-tools/generate-static-data.ts#L47-L49

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
PatMyron committed Oct 26, 2020
1 parent 575e47e commit dde9c55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/@aws-cdk/region-info/build-tools/fact-tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export const AWS_OLDER_REGIONS = new Set([
'us-east-1',
'us-west-1',
'us-west-2',
'us-gov-west-1',
'ap-southeast-1',
'ap-southeast-2',
'ap-northeast-1',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
"servicePrincipals": Object {
"application-autoscaling": "application-autoscaling.amazonaws.com",
"autoscaling": "autoscaling.amazonaws.com",
Expand Down

0 comments on commit dde9c55

Please sign in to comment.