Skip to content

Commit e574845

Browse files
authored
chore(region-info): ROUTE_53_BUCKET_WEBSITE_ZONE_IDS (#25471)
https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_region *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 1e4ffcd commit e574845

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/aws-cdk-lib/aws-route53-targets/test/bucket-website-target.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ test('throws if region agnostic', () => {
7474
}).toThrow(/Cannot use an S3 record alias in region-agnostic stacks/);
7575
});
7676

77-
test('throws if bucket website hosting is unavailable (cn-north-1)', () => {
77+
test('throws if bucket website hosting is unavailable (us-iso-east-1)', () => {
7878
// GIVEN
7979
const app = new App();
80-
const stack = new Stack(app, 'test', { env: { region: 'cn-north-1' } });
80+
const stack = new Stack(app, 'test', { env: { region: 'us-iso-east-1' } });
8181

8282
const bucketWebsite = new s3.Bucket(stack, 'Bucket');
8383

packages/aws-cdk-lib/region-info/build-tools/fact-tables.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ export const ROUTE_53_BUCKET_WEBSITE_ZONE_IDS: { [region: string]: string } = {
4949
'ap-southeast-1': 'Z3O0J2DXBE1FTB',
5050
'ap-southeast-2': 'Z1WCIGYICN2BYD',
5151
'ap-southeast-3': 'Z01846753K324LI26A3VV',
52+
// 'ap-southeast-4': 'Z0312387243XT5FE14WFO',
5253
'ca-central-1': 'Z1QDHH18159H29',
54+
'cn-north-1': 'Z5CN8UMXT92WN',
5355
'cn-northwest-1': 'Z282HJ1KT0DH03',
5456
'eu-central-1': 'Z21DNDUVLTQW6Q',
5557
'eu-central-2': 'Z030506016YDQGETNASS',

0 commit comments

Comments
 (0)