turbot/aws_compliance

Query: ec2_instance_in_vpc

Usage

powerpipe query aws_compliance.query.ec2_instance_in_vpc

Steampipe Tables

SQL

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

Controls

The query is being used by the following controls: