AWS Config Rule: Lambda Inside VPC
LAMBDA_INSIDE_VPC
Fernando Honig
Last Update 4 tháng trước
Description: Checks whether an AWS Lambda function is allowed access to an Amazon Virtual Private Cloud. The rule is NON_COMPLIANT if the Lambda function is not VPC enabled.
Trigger type: Configuration changes
AWS Region: All supported AWS regions except Asia Pacific (Osaka), Europe (Spain), China (Ningxia) Region
How to Resolve Manually
To resolve this manually, you will first need to head to the Lambda Dashboard and browse to the Lambda function you want to edit the VPC configuration.
![](https://tawk.link/60361066385de40757196ccc/kb/attachments/D-khuk6K2Y.png)
You can clearly see above, that this is not connected to a VPC. From here, click the Edit button and we can assign the Lambda Function to a VPC and also choose the Subnets to complete your VPC configuration;
![](https://tawk.link/60361066385de40757196ccc/kb/attachments/Ab1g1Ps2EC.png)
Want to know more about StackZone and how to make your cloud management simple and secure?
Check our how it works section with easy to follow videos or just create your own StackZone Account here
![](https://media.stackzone.com/assets/console/images/cz-portada-tawk-to.png)