turbot/aws_insights

Query: eks_cluster_resources_vpc_config

Usage

powerpipe query aws_insights.query.eks_cluster_resources_vpc_config

Steampipe Tables

SQL

select
resources_vpc_config ->> 'ClusterSecurityGroupId' as "Cluster Security Group ID",
resources_vpc_config ->> 'EndpointPrivateAccess' as "Endpoint Private Access",
resources_vpc_config -> 'PublicAccessCidrs' as "Public Access CIDRs",
resources_vpc_config -> 'SecurityGroupIds' as "Security Group IDs",
resources_vpc_config -> 'SubnetIds' as "Subnet IDs",
resources_vpc_config ->> 'VpcId' as "VPC ID"
from
aws_eks_cluster
where
arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);

Dashboards

The query is used in the dashboards: