aws-samples / aws-saas-factory-serverless-workshop

MIT No Attribution
135 stars 63 forks source link

When deleting lab1.template the LogGroup with name /var/log/messages is getting recreated #21

Closed ujwalbukka closed 3 years ago

ujwalbukka commented 4 years ago

When you delete the lab1.template, the template is deleting the LogGroup with name /var/log/messages but the EC2 instance has a cloudwatch logs agent which is creating a LogGroup with name /var/log/messages to log messages while EC2 is shutting down. The issue with this is later when you rerun the lab1.template in the same account it will fail saying LogGroup with name /var/log/messages already exists.

brtrvn commented 3 years ago

Resolved with 59a467040c87d7ef13563fb08800c029d89536f5