
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
serverless-plugin-vpc-eni-cleanup
Advanced tools
Cleanup lambda VPS EC2 Network Interfaces on stack removal, to speed up the operation
Removal of stage (so CloudFormation stack deletion) that involves VPC lambda functions is very slow.
"Waiting for NetworkInterfaces associated with the Lambda Function to be cleaned up" process takes usually around 40 minutes.
While the AWS team works on improving that, the workaround for a meantime is to remove those interfaces manually, so stack deletion finalizes in reasonable time.
This plugin removes all detected network interfaces in parallel to stack deletion process.
npm install serverless-plugin-vpc-eni-cleanup
Activate plugin in serverless.yml
plugins:
- serverless-plugin-vpc-eni-cleanup
Following IAM policy needs to be ensured for plugin to work without issues
{
"Effect": "Allow",
"Action": [
"ec2:DeleteNetworkInterface",
"ec2:DetachNetworkInterface",
"ec2:DescribeNetworkInterfaces"
],
"Resource": ["*"]
}
That's it. Having that, with every sls remove
operation plugin will attempt to delete discovered network interfaces
npm test
FAQs
Cleanup lambda VPS EC2 Network Interfaces on stack removal, to speed up the operation
We found that serverless-plugin-vpc-eni-cleanup demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.