turbot/aws_insights

Query: ec2_amis_for_emr_cluster

Usage

powerpipe query aws_insights.query.ec2_amis_for_emr_cluster

Steampipe Tables

SQL

select
custom_ami_id as image_id
from
aws_emr_cluster
where
custom_ami_id is not null
and cluster_arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);