I have a SAM template for a lambda (AWS::Serverless::Lambda) that has a VpcConfig declared, however cfn-nag is highlighting it as a warning with LambdaFunctionInsideVPCRule. If I change the lambda to be a plain cft lambda AWS::Lambda::Function, the warning is removed.
Thinking there may be an issue with mapping the SAM template properties?
I have a SAM template for a lambda (
AWS::Serverless::Lambda
) that has a VpcConfig declared, however cfn-nag is highlighting it as a warning with LambdaFunctionInsideVPCRule. If I change the lambda to be a plain cft lambdaAWS::Lambda::Function
, the warning is removed.Thinking there may be an issue with mapping the SAM template properties?
Attached the partial template below: