Skip to main content

🧠 AWS RDS Aurora Cluster Multi-AZ Deployment is not enabled - prod.logic.yaml🟢

Uses

Test Results 🟢

Generated at: 2026-06-06T12:03:11.002096119Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟢test1✔️ 99✔️ isDisappeared(CA10__disappearanceTime__c)✔️ null
🟢test2✔️ 199✔️ extract('CA10__status__c') != 'available'✔️ null
🟢test3✔️ 399✔️ extract('CA10__multiAZ__c') == false✔️ null
🟢test4✔️ 499✔️ extract('CA10__multiAZ__c') == true✔️ null
🟢test5✔️ 299✔️ not(extract('CA10__engine__c').contains('aurora'))✔️ null

Generation Bundle

FileMD5
Open/ce/ca/aws/rds/aurora-cluster-multi-az-deployment/policy.yaml3EEA1F910FA8DDC1C8FD036983420E47
Open/ce/ca/aws/rds/aurora-cluster-multi-az-deployment/prod.logic.yamlB77F19B8D38C97461E04C61A803EC631
Open/ce/ca/aws/rds/aurora-cluster-multi-az-deployment/test-data.jsonF08C90863085BC5671CEE9418A04D73C
Open/types/CA10__CaAwsDbCluster__c/object.extracts.yaml8AACD486F39325BBBA7FE4FA3BE340E9

Available Commands

repo-manager policies generate FULL /ce/ca/aws/rds/aurora-cluster-multi-az-deployment/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/rds/aurora-cluster-multi-az-deployment/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/rds/aurora-cluster-multi-az-deployment/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/rds/aurora-cluster-multi-az-deployment/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/rds/aurora-cluster-multi-az-deployment/prod.logic.yaml

Content

Open File

---
inputType: "CA10__CaAwsDbCluster__c"
testData:
- file: test-data.json
importExtracts:
- file: /types/CA10__CaAwsDbCluster__c/object.extracts.yaml
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "The cluster is not available."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__status__c"
right:
TEXT: "available"
- status: "INAPPLICABLE"
currentStateMessage: "This policy applies only to AWS RDS Aurora clusters."
check:
NOT:
arg:
CONTAINS:
arg:
EXTRACT: "CA10__engine__c"
search:
TEXT: "aurora"
- status: "INCOMPLIANT"
currentStateMessage: "Multi-AZ deployment is disabled for the Aurora cluster."
remediationMessage: "Add an Aurora replica in a different availability zone to enable Multi-AZ high availability."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__multiAZ__c"
right:
BOOLEAN: false
- status: "COMPLIANT"
currentStateMessage: "Multi-AZ deployment is enabled for the Aurora cluster."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__multiAZ__c"
right:
BOOLEAN: true
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the fields."