turbot/aws_insights

Query: ec2_instance_overview

Usage

powerpipe query aws_insights.query.ec2_instance_overview

Steampipe Tables

SQL

select
tags ->> 'Name' as "Name",
instance_id as "Instance ID",
launch_time as "Launch Time",
title as "Title",
region as "Region",
account_id as "Account ID",
arn as "ARN"
from
aws_ec2_instance
where
arn = $1
and region = split_part($1, ':', 4)
and account_id = split_part($1, ':', 5);

Dashboards

The query is used in the dashboards: