Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guidance: How do I configure the Lambdas created by Copilot Load Balanced Web Service/Backend Service to be in inside a VPC? #5769

Open
rickychew77 opened this issue Apr 11, 2024 · 1 comment

Comments

@rickychew77
Copy link

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.

@iamhopaul123
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants