amplify-education / serverless-vpc-discovery

Serverless plugin for discovering VPC / Subnet / Security Group configuration by name.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Turn off for Some?

bradennapier opened this issue · comments

Is there no way to indicate specific functions that should not be placed within the VPC? It seems to be a catch-all so all the lambdas need to be in VPC for the project.

Would be nice if we could specify a parameter within the function to turn off vpc inclusion for that function.

Seems like a reasonable feature request to me. I think two paths for this would be to do as you've described and have a boolean that turns off the VPC settings provided by the plugin for a given function, or perhaps supporting configuring this plugin at the function level.

Is anyone interested in implementing either of those solutions?

@bradennapier @jconstance-amplify I have opened #19 that should resolve this issue.