Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

152
Views
CloudFormation is very slow

I have a stack with:

  • API Gateway
  • Lambda
  • Kinesis

When deleting this CloudFormation stack from the AWS console, the process is very slow.

Everything works fine until you execute the exclusion of 'AWS :: Lambda :: Function' -> 'CloudFormation is waiting for NetworkInterfaces associated with the Lambda Function to be cleaned up.'

The time in this process takes about 30 minutes.

Has anyone had the same problem?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

To prevent this from blocking the stack deletion, you could set a DeletionPolicy property to Retain for that specific Lambda and have another scheduled process that would clean up each day the orphaned Lambdas.

over 4 years ago · Santiago Trujillo Report

0

Check that the lambda function assigned Role has delete permissions for the network interface, ie all of these:

- ec2:CreateNetworkInterface
- ec2:DescribeNetworkInterfaces
- ec2:DeleteNetworkInterface

If it is unable to delete the interface the Cloudformation template might hang, as you have experienced.

If that doesn't work you might have to script something to delete the ENIs on the lambda while the lambda is trying to teardown.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!