turbot/aws_compliance

Query: lambda_function_in_vpc

Usage

powerpipe query aws_compliance.query.lambda_function_in_vpc

Steampipe Tables

SQL

select
arn as resource,
case
when vpc_id is null
or vpc_id = '' then 'alarm'
else 'ok'
end status,
case
when vpc_id is null
or vpc_id = '' then title || ' is not in VPC.'
else title || ' is in VPC ' || vpc_id || '.'
end reason,
region,
account_id
from
aws_lambda_function;

Controls

The query is being used by the following controls: