2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
After running a few experiments, it does appear as if the order is being preserved, the issue is that there is a delay from the invocation of the lambda, it finished, and then wrote to the logs. No surprise, but writing is not immediate.
This delay is causing the log group to be recreated. I am finding that if I impose an artificial delay between the invocation and the deletion of the log group, the stack gets cleaned up appropriately.
Edited by: lsitzman on Apr 1, 2020 8:07 AM
répondu il y a 4 ans
0
Another way to solve this is to take away the permission from the execution role to create a log group (logs:CreateLogGroup
), but only if you don't care about logs produced by the Delete event.
répondu il y a 9 mois
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a 7 mois
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
Could you please share more details on how you resolved this issue? How did you implement that artificial delay?