turbot/aws_insights

Query: elasticache_cluster_automatic_backup

Usage

powerpipe query aws_insights.query.elasticache_cluster_automatic_backup

SQL

select
'Automatic Backup' as label,
case when snapshot_retention_limit is null then 'Disabled' else 'Enabled' end as value,
case when snapshot_retention_limit is null then 'alert' else 'ok' end as type
from
aws_elasticache_replication_group
where
arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);

Dashboards

The query is used in the dashboards: