turbot/aws_insights

Query: vpc_vpcs_for_eks_cluster

Usage

powerpipe query aws_insights.query.vpc_vpcs_for_eks_cluster

Steampipe Tables

SQL

select
resources_vpc_config ->> 'VpcId' as vpc_vpc_id
from
aws_eks_cluster
where
resources_vpc_config ->> 'VpcId' is not null
and arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);