Skip to content

Commit 3a78125

Browse files
authored
chore(route53): support new partitions in route53 cross-account delegator (#29537)
### Issue # (if applicable) n/a ### Reason for this change Support new partitions from the AWS JS SDK: https://github.com/aws/aws-sdk-js-v3/blob/05c32e74595113347211ba0584197b665ebab1db/packages/util-endpoints/src/lib/aws/partitions.json#L190-L2 ### Description of changes Support new partitions from the AWS JS SDK: https://github.com/aws/aws-sdk-js-v3/blob/05c32e74595113347211ba0584197b665ebab1db/packages/util-endpoints/src/lib/aws/partitions.json#L190-L214 ### Description of how you validated changes This is a minor update to a mapping that has no existing unit tests. I'm happy to add if desired, but likely unnecessary. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 9b79f94 commit 3a78125

File tree

15 files changed

+25
-23
lines changed

15 files changed

+25
-23
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.cross-account-zone-delegation.js.snapshot/asset.5e6e9858d1b0f5ba042ceacb850822cb985861c7bd174ceb7659a10daebe43e9/index.js

-1
This file was deleted.

packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.cross-account-zone-delegation.js.snapshot/asset.aca4a134bf7ace6088b21213be7ab4357e3705f714362b690d76376b8f1df53a/index.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.cross-account-zone-delegation.js.snapshot/child-opt-in-stack.assets.json

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.cross-account-zone-delegation.js.snapshot/child-opt-in-stack.template.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"Properties": {
104104
"Code": {
105105
"S3Bucket": "cdk-hnb659fds-assets-234567890123-af-south-1",
106-
"S3Key": "5e6e9858d1b0f5ba042ceacb850822cb985861c7bd174ceb7659a10daebe43e9.zip"
106+
"S3Key": "aca4a134bf7ace6088b21213be7ab4357e3705f714362b690d76376b8f1df53a.zip"
107107
},
108108
"Timeout": 900,
109109
"MemorySize": 128,

packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.cross-account-zone-delegation.js.snapshot/child-stack.assets.json

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.cross-account-zone-delegation.js.snapshot/child-stack.template.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"Properties": {
104104
"Code": {
105105
"S3Bucket": "cdk-hnb659fds-assets-234567890123-us-east-1",
106-
"S3Key": "5e6e9858d1b0f5ba042ceacb850822cb985861c7bd174ceb7659a10daebe43e9.zip"
106+
"S3Key": "aca4a134bf7ace6088b21213be7ab4357e3705f714362b690d76376b8f1df53a.zip"
107107
},
108108
"Timeout": 900,
109109
"MemorySize": 128,

packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.cross-account-zone-delegation.js.snapshot/manifest.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.rename-cross-account-zone-delegation.js.snapshot/asset.5e6e9858d1b0f5ba042ceacb850822cb985861c7bd174ceb7659a10daebe43e9/index.js

-1
This file was deleted.

packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.rename-cross-account-zone-delegation.js.snapshot/asset.aca4a134bf7ace6088b21213be7ab4357e3705f714362b690d76376b8f1df53a/index.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.rename-cross-account-zone-delegation.js.snapshot/child-stack.assets.json

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.rename-cross-account-zone-delegation.js.snapshot/child-stack.template.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"Properties": {
104104
"Code": {
105105
"S3Bucket": "cdk-hnb659fds-assets-234567890123-us-east-1",
106-
"S3Key": "5e6e9858d1b0f5ba042ceacb850822cb985861c7bd174ceb7659a10daebe43e9.zip"
106+
"S3Key": "aca4a134bf7ace6088b21213be7ab4357e3705f714362b690d76376b8f1df53a.zip"
107107
},
108108
"Timeout": 900,
109109
"MemorySize": 128,

packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.rename-cross-account-zone-delegation.js.snapshot/manifest.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/custom-resource-handlers/lib/aws-route53/cross-account-zone-delegation-handler/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ function route53Region(region: string) {
111111
'us-gov': 'us-gov-west-1',
112112
'us-iso': 'us-iso-east-1',
113113
'us-isob': 'us-isob-east-1',
114+
'eu-isoe': 'eu-isoe-west-1',
115+
'us-isof': 'us-isof-south-1',
114116
};
115117

116118
for (const [prefix, mainRegion] of Object.entries(partitions)) {

0 commit comments

Comments
 (0)