Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

156
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda