Skip to main content

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

Uses

Test Results 🟢

Generated at: 2026-01-31T12:02:09.851327643Z 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.yaml087DD9EEC61F962221061804027C73A8
Open/ce/ca/aws/rds/aurora-cluster-multi-az-deployment/test-data.jsonF08C90863085BC5671CEE9418A04D73C
Open/types/CA10__CaAwsDbCluster__c/object.extracts.yamlD2C2C5F972AEC114F6BD57EB74FA57CB

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."