flaviostutz / cdk-practical-constructs

A collection of CDK constructs for making the development of AWS based applications easier and safer in a practical way
MIT License
5 stars 6 forks source link

Error with multiple max size policy limit in the log groups subscriber lambda #40

Closed MarcioMeier closed 1 month ago

MarcioMeier commented 1 month ago

What's broken?

When using the same lambda subscribed to multiple log groups we get the max size policy error from AWS.

Version used

0.9.0

Context

We use an specific lambda to forward our logs to our monitoring system, so we subscribe it to all our lambdas, as the BaseNodeJsFunction adds permission to our forwarder lambda, after a few deployed stack we get the error.