turbot/aws_insights

Query: elasticache_clusters_for_elasticache_cluster_node

Usage

powerpipe query aws_insights.query.elasticache_clusters_for_elasticache_cluster_node

SQL

select
g.arn as elasticache_cluster_arn
from
aws_elasticache_cluster as c,
aws_elasticache_replication_group as g
where
c.replication_group_id = g.replication_group_id
and c.arn = $1
and c.account_id = split_part($1, ':', 5)
and c.region = split_part($1, ':', 4);