-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Description
Describe the bug
Creating a DeliveryStream in ap-southeast-7 fails at synth time with Error: Mapping doesn't contain top-level key ap-southeast-7
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Version
No response
Expected Behavior
Configured constructs in a stack set to deploy to ap-southeast-7 using aws-cdk-lib 2.171 and @aws-cdk/aws-kinesisfirehose-alpha 2.171-alpha. Expected a clean compile.
Current Behavior
Error: Mapping doesn't contain top-level key 'ap-southeast-7'
...
when attempting to compile.
Reproduction Steps
Just take any normal code example of DeliveryStream like your unit tests and synth it in ap-southeast-7.
Possible Solution
aws-kinesisfirehose-alpha uses a mapping of CIDR blocks (https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/region-info/build-tools/fact-tables.ts#L768) per region. This list is incomplete (it does not include ap-southeast-7
).
Additional Information/Context
Basically identical issue to #29874, but for another region and the (now) newest CDK
CDK CLI Version
2.171
Framework Version
No response
Node.js Version
v18.18.0
OS
MacOS (15.3.1)
Language
TypeScript
Language Version
5.7.3
Other information
N/A