2
votes

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

1 Answers

2
votes

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.