-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws-kinesisfirehose-alpha: Needs support for eu-central-2
#27518
Comments
@mrgrain The metadata resource is not deployed yet in |
@msambol This has nothing todo with the metadata resource. Just need to check this doc page and update the table. |
@jstoneham You should be able to supply these facts yourself. Documentation regionInfo.Fact.register({ region: "eu-central-2", name: "FIREHOSE_CIDR_BLOCK", value: "16.62.183.32/27" });
If you are internal, feel free to reach out to me to discuss options. |
@jstoneham I think we can close this in favor of #27656? |
Sure, if you like. Didn't mean to double-file - when I filed this one I thought it hadn't been added yet. Then I upgraded all my stuff and one of my pipelines failed and I realized some had been removed instead! So I thought I'd file another issue. Didn't twig that the regions overlapped. |
Can close this issue as part of the fix for this issue #27656 |
|
Describe the bug
Creating a
DeliveryStream
ineu-central-2
fails at synth time withError: Mapping doesn't contain top-level key 'eu-central-2'
.Expected Behavior
Configured constructs in a stack set to deploy to
eu-central-2
usingaws-cdk-lib
2.99.0 and@aws-cdk/aws-kinesisfirehose-alpha
2.99.0-alpha. Expected a clean compile.Current Behavior
Reproduction Steps
Just take any normal code example of
DeliveryStream
like your unit tests and synth it ineu-central-2
.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 includeeu-central-2
), so using these constructs in this region is not functional. (It also is missingap-south-2
,eu-south-2
, as well as any announced/upcoming build regions like Calgary).Additional Information/Context
No response
CDK CLI Version
2.93.0
Framework Version
No response
Node.js Version
v18.18.0
OS
Amazon Linux 2
Language
TypeScript
Language Version
TypeScript (4.9.4)
Other information
Please add these regions, but I would also suggest we find a way to have these constructs work /without/ this configuration, to fill it in automatically at build time from some source, or to have regions included automatically closer to launch. The requirement to file an issue to get any region included here means the Firehose constructs will never work pre-region launch (which is a problem for Amazon builders), nor directly after region launch (which is a difficulty for all CDK users likely to extend their pipeline to all new regions).
The text was updated successfully, but these errors were encountered: