lumigo-io/SAR-Logging

Unsubscribe when stack is being removed

Closed this issue · 0 comments

When I remove the logging stack, log groups remain subscribed to the not existing destinationArn - in my case, it's a Kinesis stream which is part of the stack as well

Can we add an option to remove all the subscriptions or keep them around upon removing the stack?

My naming nomination would be: keepSubscriptionsOnRemove: TRUE | FALSE with default value FALSE to ensure the consistency of stack removal.