turbot/aws_insights

Query: iam_roles_for_eks_cluster

Usage

powerpipe query aws_insights.query.iam_roles_for_eks_cluster

Steampipe Tables

SQL

select
role_arn as iam_role_arn
from
aws_eks_cluster as c
where
arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);