Override provider level VPC settings

Hi there!

I was wondering how I can override the VPC settings I have at the provider level with no VPC settings in a single Lambda function.

To restate it a little differently…I do not want one of my lambda functions to inherit the VPC settings I have for the rest of my functions.

I was hoping I could do something like this:

lambdaFunctionOne:
    handler: handler.lambdalogic1
    vpc: No VPC

But this does not appear to work.

1 Like

This would be a great feature. I’d love to override provider level VPC settings for just one lambda function. Right now, the only option is to set the vpc setting for every function other than the one I don’t need to be in the VPC.