turbot/aws_insights

Query: eks_node_groups_for_eks_cluster

Usage

powerpipe query aws_insights.query.eks_node_groups_for_eks_cluster

SQL

select
arn as eks_node_group_arn
from
aws_eks_node_group
where
cluster_name in
(
select
name
from
aws_eks_cluster
where
arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4)
)