turbot/aws_compliance

Query: rds_db_instance_multiple_az_enabled

Usage

powerpipe query aws_compliance.query.rds_db_instance_multiple_az_enabled

Steampipe Tables

SQL

select
arn as resource,
case
when engine ilike any (array ['%aurora-mysql%', '%aurora-postgres%']) then 'skip'
when multi_az then 'ok'
else 'alarm'
end as status,
case
when engine ilike any (array ['%aurora-mysql%', '%aurora-postgres%']) then title || ' cluster instance.'
when multi_az then title || ' Multi-AZ enabled.'
else title || ' Multi-AZ disabled.'
end as reason
, region, account_id
from
aws_rds_db_instance;

Controls

The query is being used by the following controls: