lacework-global-144
Lambda Function should not have VPC access
Description
AWS advises that unless a Lambda function needs to access an AWS resource that is only accessible from within a VPC, there is no additional benefit to add a VPC configuration to a Lambda function.
Remediation
To disconnect a Lambda function from a VPC:
Log in to the AWS Management Console.
Go to the Lambda service.
Select the Lambda function.
Select the Configuration tab.
Select VPC.
Select Edit.
Select the VPC dropdown and choose None.
Select Save.