Miserlou / Zappa

Serverless Python
https://blog.zappa.io/
MIT License
11.89k stars 1.2k forks source link

Undeploy Leaves Behind Network Interfaces #1284

Open glassresistor opened 6 years ago

glassresistor commented 6 years ago

Undeploy does not remove the ENI it creates when making a lambda function

Context

This appears to be for

Expected Behavior

Undeploy removes everything it creates.

Possible Fix

Remove the ENI or add tags to ease removal by other tools.

Steps to Reproduce

Deploy app with a security group and subnets. Undeploy and try and delete the security group.

Your Environment

haizeng-geng-rozettatech commented 5 years ago

Is there any update on this issue? I met the same issue

burkel24 commented 5 years ago

Same issue here. Config:

{
    "dev": {
        "app_function": "test_handler.handle_stuff",
        "profile_name": null,
        "project_name": "ops",
        "runtime": "python3.6",
        "aws_region": "us-east-1",
        "s3_bucket": "zappa-cxf6jwe32",
        "vpc_config": {
            "SubnetIds": [ "..." ],
            "SecurityGroupIds": [ "..." ]
        }
    }
}