Skip to main content

🧠 AWS RDS Cluster is not configured to copy all tags to snapshots - prod.logic.yaml🟢

Uses

Test Results 🟢

Generated at: 2026-01-31T12:02:10.699223769Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟢test1✔️ 99✔️ isDisappeared(CA10__disappearanceTime__c)✔️ null
🟢test2✔️ 199✔️ extract('CA10__status__c') != 'available'✔️ null
🟢test3✔️ 299✔️ CA10__copyTagsToSnapshot__c == false✔️ null
🟢test4✔️ 399✔️ CA10__copyTagsToSnapshot__c == true✔️ null

Generation Bundle

FileMD5
Open/ce/ca/aws/rds/cluster-copy-tags-to-snapshot/policy.yaml4B90625EB4A3E03CBD4BCFA25B87551D
Open/ce/ca/aws/rds/cluster-copy-tags-to-snapshot/prod.logic.yaml6D08EDCE1F7B00EF97F6472095DC3AC6
Open/ce/ca/aws/rds/cluster-copy-tags-to-snapshot/test-data.json20BD43B5FA1FC1D6EA42E5B6DB5B3E61
Open/types/CA10__CaAwsDbCluster__c/object.extracts.yamlD2C2C5F972AEC114F6BD57EB74FA57CB

Available Commands

repo-manager policies generate FULL /ce/ca/aws/rds/cluster-copy-tags-to-snapshot/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/rds/cluster-copy-tags-to-snapshot/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/rds/cluster-copy-tags-to-snapshot/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/rds/cluster-copy-tags-to-snapshot/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/rds/cluster-copy-tags-to-snapshot/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: "INCOMPLIANT"
currentStateMessage: "The RDS cluster is not configured to copy tags to snapshots."
remediationMessage: "Modify the RDS cluster configuration to enable Copy Tags to Snapshots."
check:
IS_EQUAL:
left:
FIELD:
path: "CA10__copyTagsToSnapshot__c"
right:
BOOLEAN: false
- status: "COMPLIANT"
currentStateMessage: "The RDS cluster is configured to copy tags to snapshots."
check:
IS_EQUAL:
left:
FIELD:
path: "CA10__copyTagsToSnapshot__c"
right:
BOOLEAN: true
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the field."