🧠 AWS RDS Instance is not configured to copy all tags to snapshots - prod.logic.yaml🟢
- Contextual name: 🧠 prod.logic.yaml🟢
- ID:
/ce/ca/aws/rds/instance-copy-tags-to-snapshot/prod.logic.yaml - Tags:
Uses
Test Results 🟢
Generated at: 2026-01-31T12:02:12.224489749Z 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__clusterArn__c').isNotEmpty() | ✔️ null |
| 🟢 | test4 | ✔️ 399 | ✔️ CA10__copyTagsToSnapshot__c == false | ✔️ null |
| 🟢 | test5 | ✔️ 499 | ✔️ CA10__copyTagsToSnapshot__c == true | ✔️ null |
Generation Bundle
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/rds/instance-copy-tags-to-snapshot/policy.yaml | E4CDC4814285E381F2CF955443440D3F |
| Open | /ce/ca/aws/rds/instance-copy-tags-to-snapshot/prod.logic.yaml | D5C1781BABF32BF6C2824AAFA118E22F |
| Open | /ce/ca/aws/rds/instance-copy-tags-to-snapshot/test-data.json | 23A419FCCA58C61563A5CCBD4D8529B8 |
| Open | /types/CA10__CaAwsDbInstance__c/object.extracts.yaml | E3FA5A211AA9AD2418645BB09047D3D3 |
Available Commands
repo-manager policies generate FULL /ce/ca/aws/rds/instance-copy-tags-to-snapshot/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/rds/instance-copy-tags-to-snapshot/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/rds/instance-copy-tags-to-snapshot/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/rds/instance-copy-tags-to-snapshot/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/rds/instance-copy-tags-to-snapshot/prod.logic.yaml
Content
---
inputType: "CA10__CaAwsDbInstance__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10__CaAwsDbInstance__c/object.extracts.yaml"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "The Instance is not available."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__status__c"
right:
TEXT: "available"
- status: "INAPPLICABLE"
currentStateMessage: "This policy doesn't apply to Cluster Instances."
check:
NOT_EMPTY:
arg:
EXTRACT: "CA10__clusterArn__c"
- status: "INCOMPLIANT"
currentStateMessage: "The RDS instance is not configured to copy tags to snapshots."
remediationMessage: "Modify the RDS instance configuration to enable Copy Tags to Snapshots."
check:
IS_EQUAL:
left:
FIELD:
path: "CA10__copyTagsToSnapshot__c"
right:
BOOLEAN: false
- status: "COMPLIANT"
currentStateMessage: "The RDS instance 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."