Guidance: How do I configure the Lambdas created by Copilot Load Balanced Web Service/Backend Service to be in inside a VPC?
There are functions like EnvControllerFunction, DynamicDesiredCountFunct and RulePriorityFunction are created from Copilot to support the the Copilot lifecycle.
As part of my organization compliant, it is recommended for lambdas to always be inside a VPC. How can I configure that in the copilot configuration? Understand can be done manually from console but I wish to do it from Copilot manifest as much as possible.
Hello @rickychew77. That's an interesting idea 🤔 I've never tried to put a lambda in a VPC but i guess technically you can do that by using override and update through https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-vpcconfig.