Skip to content
This repository was archived by the owner on Mar 15, 2026. It is now read-only.
This repository was archived by the owner on Mar 15, 2026. It is now read-only.

Lambda Deploy command sets Lambda function's network to "No VPC" #78

Description

@rjaus

I'm not sure if this is a bug in the library, or how I've setup AWS / Lambda.

But everytime I run "lambda deploy" the lambda function I'm deploying to is set to "No VPC", dropping the subnets and security group.

Any ideas why this might be happening?

Activity

bob-codingdutchmen commented on Oct 23, 2017

@bob-codingdutchmen

Looking at this code, you should enter the VPC settings in your config file. From your question it isn't clear wether you did, but make sure you have entered the subnet_ids and security_group_ids correctly

gmyers-amfam commented on Jun 13, 2018

@gmyers-amfam
Contributor

I just created a pull request to address this issue. In my PR I added a --preserve-vpc command line flag that allows you to not worry about setting the VPC info in the config.yaml

shanmugavelsubramani commented on Jun 18, 2018

@shanmugavelsubramani

Whats the status of this request? Is there a way i can include this fix into the package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions