CDK: Region validation #32445
Labels
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
package/tools
Related to AWS CDK Tools or CLI
Describe the feature
If a region is set for a Stack, CDK should validate if the synthesized constructs match the actual supported resources of that region. As each region supports different services (or even different features) a shift-left of the validation helps developer to get early feedback if their solution will be deployable on that region.
Use Case
Whenever a new Region launches I want to verify if my code is deployable to that region. An actual deployment is not helpful as it could have side effects and fails usually on the first missing service. It does not give me an overview of which services I have in my stack that are not or only partial supported. Failing during
cd synth
helps to get an early feedback and to check that regularly (as available services and their features of a region changes over time).Another use-case is related to the launch of the European Sovereign Cloud in 2025. As preparation it is useful to be able to build solutions that will be compatible with the initial supported services.
Proposed Solution
Use the same sources as the Region Comparison Tool
Other Information
No response
Acknowledgements
CDK version used
v2 (latest)
Environment details (OS name and version, etc.)
OSX 14.5
The text was updated successfully, but these errors were encountered: