turbot/aws_insights

Query: eks_fargate_profiles_for_eks_cluster

Usage

powerpipe query aws_insights.query.eks_fargate_profiles_for_eks_cluster

SQL

select
p.fargate_profile_arn as eks_fargate_profile_arn
from
aws_eks_cluster as c
left join aws_eks_fargate_profile as p on p.cluster_name = c.name
where
p.region = c.region
and c.arn = $1
and c.account_id = split_part($1, ':', 5)
and c.region = split_part($1, ':', 4);