Control: ElastiCache for Redis replication groups should have automatic failover enabled
Description
This control checks if ElastiCache for Redis replication groups have automatic failover enabled. This control fails if automatic failover isn't enabled for a Redis replication group.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.elasticache_replication_group_auto_failover_enabledSnapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.elasticache_replication_group_auto_failover_enabled --shareSQL
This control uses a named query:
select arn as resource, case when automatic_failover = 'enabled' then 'ok' else 'alarm' end as status, case when automatic_failover = 'enabled' then title || ' automatic failover enabled.' else title || ' automatic failover disabled.' end as reason , region, account_idfrom aws_elasticache_replication_group;