enfogroup / sniffles-cdk

Automatic formatting and forwarding of CloudWatch logs based alarms in AWS using the CDK
MIT License
1 stars 0 forks source link

Improve log subscription handling #10

Open castodius opened 1 year ago

castodius commented 1 year ago

Currently the log subscription lambda runs every X minutes and aggressively tries to put a log subscription. I think we can be a bit smarter:

If a user wants to reapply the subscriptions they would simply have to rerun the second function.

castodius commented 1 year ago

This would require removing the current caching that is taking place.

castodius commented 1 year ago

Partially improved in https://github.com/enfogroup/sniffles-cdk/commit/340f1b6258b0946a7d48a6c5fbdf737f3640de92, still a blunt solution.