Skip to content

Issue creating cloudwatch subscription filter for firehose - Could not deliver test message to specified Firehose stream. User: XXXXX is not authorized to perform: firehose:PutRecord #34433

Discussion options

You must be logged in to vote

I figured this out. cdk/cloudformation was not automatically inferring ordering/dependencies between some of the resources. I added a couple of dependencies explicitly in the cdk code and it started working.

firehoseSubscriptionRole.node.addDependency(firehose);
subscriptionFilter.node.addDependency(firehoseSubscriptionRole);

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by john-gobl-hilabs
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant