buildit / icarus

Serverless project for monitoring various repositories and productivity tools
Apache License 2.0
4 stars 2 forks source link

Complete stack delete fails #46

Open nicusX opened 7 years ago

nicusX commented 7 years ago

sls remove sometimes fails.

nicusX commented 7 years ago

This is caused by a known AWS issue: https://stackoverflow.com/questions/41299662/aws-lambda-created-eni-not-deleting-while-deletion-of-stack#answer-41310289

Terraform works around it, but CloudFormation doesn't... The easiest way looks creating two separate stacks:

nicusX commented 7 years ago

A good option for splitting stacks may be this plugin: https://www.npmjs.com/package/serverless-plugin-additional-stacks

This generates completely separate stacks (not nested stacks).