Skip to content

Commit

Permalink
chore(route53): support new partitions in route53 cross-account deleg…
Browse files Browse the repository at this point in the history
…ator
  • Loading branch information
naiello committed Mar 19, 2024
1 parent e85231c commit 8bed958
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ function route53Region(region: string) {
'us-gov': 'us-gov-west-1',
'us-iso': 'us-iso-east-1',
'us-isob': 'us-isob-east-1',
'eu-isoe': 'eu-isoe-west-1',
'us-isof': 'us-isof-south-1',
};

for (const [prefix, mainRegion] of Object.entries(partitions)) {
Expand All @@ -121,4 +123,4 @@ function route53Region(region: string) {

// Default for commercial partition
return 'us-east-1';
}
}

0 comments on commit 8bed958

Please # to comment.