turbot/aws_insights

Query: ec2_instance_status

Usage

powerpipe query aws_insights.query.ec2_instance_status

Steampipe Tables

SQL

select
'Status' as label,
initcap(instance_state) as value
from
aws_ec2_instance
where
account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4)
and arn = $1;

Dashboards

The query is used in the dashboards: