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
4 stars 2 forks source link

Do not delete the log group when the wso2 deployment fails #33

Open MarcioMeier opened 1 month ago

MarcioMeier commented 1 month ago

Problem being solved

When deploying to WSO2 fails, the lambda that deploys the wso2 application is deleted and the its log group is also deleted, so we cannot really see the logs to understand why it has failed.

Proposal

Do not delete the handler and the log groups if the deployment fails.

I believe they should only be deleted when we delete the stack.