stelligent / cfn_nag

Linting tool for CloudFormation templates
MIT License
1.26k stars 212 forks source link

LambdaFunctionInsideVPCRule fails even when the VpcConfig is there #594

Open aruanurag opened 2 years ago

aruanurag commented 2 years ago

Created a SAM template for Lambda it gives a warning even when VPC in configured. `StockCheckerFunction: Type: AWS::Serverless::Function # More info about Function Resource: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-function.html Properties: CodeUri: ./functions/StockChecker/ Handler: StockChecker::StockChecker.Function::FunctionHandler VpcConfig: SecurityGroupIds: