-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(region-info): move the AWS_CDK_METADATA set to its own file (#2…
…7887) In the future, the `AWS_CDK_METADATA` set will only be edited automatically, to prevent misconfiguration. Moving it to its own file makes it easier and less error prone for automated tools to generate/update the code. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
1 parent
de0a9e2
commit 02957df
Showing
3 changed files
with
34 additions
and
38 deletions.
There are no files selected for viewing
37 changes: 0 additions & 37 deletions
37
packages/aws-cdk-lib/region-info/build-tools/fact-tables.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Do not edit this file manually. To prevent misconfiguration, this file | ||
* should only be modified by an automated GitHub workflow, that ensures | ||
* that the regions present in this list correspond to all the regions | ||
* where we have the AWS::CDK::Metadata handler deployed. | ||
* | ||
* See: https://github.com/aws/aws-cdk/issues/27189 | ||
*/ | ||
|
||
export const AWS_CDK_METADATA = new Set([ | ||
'af-south-1', | ||
'ap-east-1', | ||
'ap-northeast-1', | ||
'ap-northeast-2', | ||
'ap-south-1', | ||
'ap-southeast-1', | ||
'ap-southeast-2', | ||
'ca-central-1', | ||
'cn-north-1', | ||
'cn-northwest-1', | ||
'eu-central-1', | ||
'eu-north-1', | ||
'eu-south-1', | ||
'eu-west-1', | ||
'eu-west-2', | ||
'eu-west-3', | ||
'me-south-1', | ||
'sa-east-1', | ||
'us-east-1', | ||
'us-east-2', | ||
'us-west-1', | ||
'us-west-2', | ||
]); |