CloudFormation issue: couldn't delete stack

≡放荡痞女 提交于 2021-01-28 01:32:45

问题


I create CloudFormation template for our resources, it includes Lambda functions, API Gateways, Roles, etc. For verifying our template I create CloudFormation stack using it, check some resources which I updated and after that I delete stack. But last time I got such message when I tried to delete stack:

CloudFormation is waiting for NetworkInterfaces associated with the Lambda Function to be cleaned up.

I tried to stop deletion process and restart it, but I faced the same issue again. What is the problem and how can I fix that?


回答1:


This is a well known issue. There are couple of things you can do.

1) Wait for the deletion to fail. Then try to delete. It should show you a checkbox to skip NetworkInterface. Select that.

2) Go to EC2-->NetworkInterfaces and detach/delete the NIC that was used by your resources. Then delete your CFT stack.



来源:https://stackoverflow.com/questions/50838963/cloudformation-issue-couldnt-delete-stack

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!