Open nicusX opened 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:
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).
sls remove
sometimes fails.