2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
There are some workarounds here but please pay attention to the race condition caveats mentioned in the thread.
답변함 일 년 전
0
Have you tried setting a DeletionPolicy? If you have the Log Group defined in your template, I would expect setting the policy to delete would remove it.
답변함 일 년 전
As per the link you sent, it says the resource is deleted, if DeletionPolicy attribute not set. In my case, this attribute is not set. So, it should delete it by default, right?
관련 콘텐츠
- AWS 공식업데이트됨 3년 전
Thank you. What worked for me was to remove "CreateLogGroup" permission from the Lambda function in the SAM template. I am already creating the Cloud Watch Log Group for the Lambda anyways. This was mentioned in that link.