turbot/aws_insights

Query: redshift_clusters_for_kms_key

Usage

powerpipe query aws_insights.query.redshift_clusters_for_kms_key

Steampipe Tables

SQL

select
arn as redshift_cluster_arn
from
aws_redshift_cluster as c
where
c.kms_key_id = $1
and c.region = split_part($1, ':', 4)
and c.account_id = split_part($1, ':', 5);