turbot/aws_insights

Query: iam_roles_for_emr_cluster

Usage

powerpipe query aws_insights.query.iam_roles_for_emr_cluster

SQL

select
r.arn as role_arn
from
aws_iam_role as r,
aws_emr_cluster as c
where
c.cluster_arn = $1
and r.arn = c.service_role;