🧠 AWS EBS Snapshot auto-provisioning status - prod.logic.yaml🟠🟢
- Contextual name: 🧠 prod.logic.yaml🟠🟢
- ID:
/ce/ca/automated-provisioning/aws-ebs-snapshot/prod.logic.yaml - Tags:
Uses
Test Results 🟢
Generated at: 2026-09-22T15:05:14.416919792Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| 🟢 | test-aws-backup-source-resource | ✔️ 199 | ✔️ CA10__tagsJson__c.hasExact(bytes('aws:backup:source-resource')) | ✔️ null |
| 🟢 | test-aws-application-migration-service-managed | ✔️ 299 | ✔️ CA10__tagsJson__c.getExact(bytes('AWSApplicationMigrationServiceManaged')) == 'mgn.amazonaws.com' | ✔️ null |
| 🟢 | test-aws-elastic-disaster-recovery-managed | ✔️ 399 | ✔️ CA10__tagsJson__c.getExact(bytes('AWSElasticDisasterRecoveryManaged')) == 'drs.amazonaws.com' | ✔️ null |
| 🟢 | test-aws-dlm-snapshot-tags | ✔️ 499 | ✔️ CA10__tagsJson__c.hasExact(bytes('aws:dlm:lifecycle-policy-id')) && CA10__tagsJson__c.hasExact(bytes('aws:dlm:lifecycle-schedule-name')) && CA10__tagsJson__c.hasExact(bytes('dlm:managed')) | ✔️ null |
| 🟢 | test-no-automated-provisioning-tags | ✔️ 500 | ✔️ otherwise | ✔️ null |
| 🟢 | test-aws-backup-managed-resource-not-supported | ✔️ 500 | ✔️ otherwise | ✔️ null |
| 🟢 | test-aws-application-migration-service-wrong-value | ✔️ 500 | ✔️ otherwise | ✔️ null |
| 🟢 | test-aws-dlm-incomplete-tags | ✔️ 500 | ✔️ otherwise | ✔️ null |
Generation Bundle
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/automated-provisioning/aws-ebs-snapshot/policy.yaml | E16B697D0E95E8DDCEA97B8965EE01AE |
| Open | /ce/ca/automated-provisioning/aws-ebs-snapshot/prod.logic.yaml | 9547B8D9A36C7D44566B4E7729417C3F |
| Open | /ce/ca/automated-provisioning/aws-ebs-snapshot/test-data.json | EFFED9ABEFA109CCD55ED82A19EDD0F4 |
Available Commands
repo-manager policies generate FULL /ce/ca/automated-provisioning/aws-ebs-snapshot/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/automated-provisioning/aws-ebs-snapshot/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/automated-provisioning/aws-ebs-snapshot/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/automated-provisioning/aws-ebs-snapshot/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/automated-provisioning/aws-ebs-snapshot/prod.logic.yaml
Content
---
inputType: "CA10__CaAwsSnapshot__c"
testData:
- file: "test-data.json"
conditions:
- status: "COMPLIANT"
currentStateMessage: "The automated provisioning source is AWS Backup."
check:
TAG_EXISTS:
name:
BYTES: "aws:backup:source-resource"
- status: "COMPLIANT"
currentStateMessage: "The automated provisioning source is AWS Application Migration Service."
check:
IS_EQUAL:
left:
TAG_VALUE_TEXT:
name:
BYTES: "AWSApplicationMigrationServiceManaged"
right:
TEXT: "mgn.amazonaws.com"
- status: "COMPLIANT"
currentStateMessage: "The automated provisioning source is AWS Elastic Disaster Recovery."
check:
IS_EQUAL:
left:
TAG_VALUE_TEXT:
name:
BYTES: "AWSElasticDisasterRecoveryManaged"
right:
TEXT: "drs.amazonaws.com"
- status: "COMPLIANT"
currentStateMessage: "The automated provisioning source is Amazon Data Lifecycle Manager."
check:
AND:
args:
- TAG_EXISTS:
name:
BYTES: "aws:dlm:lifecycle-policy-id"
- TAG_EXISTS:
name:
BYTES: "aws:dlm:lifecycle-schedule-name"
- TAG_EXISTS:
name:
BYTES: "dlm:managed"
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "The automated provisioning source is not identified by supported AWS-managed tag signals."
remediationMessage: "Review the automated provisioning source, ownership, and expected management workflow."