🧠 AWS RDS Cluster is not configured to copy all tags to snapshots - prod.logic.yaml🟢
- Contextual name: 🧠 prod.logic.yaml🟢
- ID:
/ce/ca/aws/rds/cluster-copy-tags-to-snapshot/prod.logic.yaml - Tags:
Uses
Test Results 🟢
Generated at: 2026-06-06T12:03:12.429936788Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| 🟢 | test1 | ✔️ 99 | ✔️ isDisappeared(CA10__disappearanceTime__c) | ✔️ null |
| 🟢 | test2 | ✔️ 199 | ✔️ extract('CA10__status__c') != 'available' | ✔️ null |
| 🟢 | test3 | ✔️ 299 | ✔️ extract('CA10__engine__c') == 'docdb' | ✔️ null |
| 🟢 | test4 | ✔️ 399 | ✔️ CA10__copyTagsToSnapshot__c == false | ✔️ null |
| 🟢 | test5 | ✔️ 499 | ✔️ CA10__copyTagsToSnapshot__c == true | ✔️ null |
| 🟢 | test6 | ✔️ 499 | ✔️ CA10__copyTagsToSnapshot__c == true | ✔️ null |
Generation Bundle
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/rds/cluster-copy-tags-to-snapshot/policy.yaml | 1D65643F90B0FF8ABB87BE85A3A0BCB2 |
| Open | /ce/ca/aws/rds/cluster-copy-tags-to-snapshot/prod.logic.yaml | E851A927DC581C31A58BC0AD52953E8D |
| Open | /ce/ca/aws/rds/cluster-copy-tags-to-snapshot/test-data.json | 0335BA6F502B2B56B349D736F4E5A234 |
| Open | /types/CA10__CaAwsDbCluster__c/object.extracts.yaml | 8AACD486F39325BBBA7FE4FA3BE340E9 |
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
---
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 is not applicable to DocumentDB clusters."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__engine__c"
right:
TEXT: "docdb"
- status: "INCOMPLIANT"
currentStateMessage: "The RDS cluster is not configured to copy tags to snapshots."
remediationMessage: "Enable copy tags to snapshots for the RDS cluster."
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."