turbot/aws_insights

Query: rds_db_subnet_groups_for_rds_db_cluster

Usage

powerpipe query aws_insights.query.rds_db_subnet_groups_for_rds_db_cluster

SQL

select
g.arn as db_subnet_group_arn
from
aws_rds_db_cluster as c,
aws_rds_db_subnet_group g
where
c.db_subnet_group = g.name
and c.region = g.region
and c.account_id = g.account_id
and c.arn = $1;