🧠 AWS EC2 Image auto-provisioning status - prod.logic.yaml🟠🟢
- Contextual name: 🧠 prod.logic.yaml🟠🟢
- ID:
/ce/ca/automated-provisioning/aws-ec2-image/prod.logic.yaml - Tags:
Uses
Test Results 🟢
Generated at: 2026-09-22T15:05:14.446387058Z 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-dlm-ami-tags | ✔️ 299 | ✔️ 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-aws-servicecatalog-portfolioarn | ✔️ 399 | ✔️ CA10__tagsJson__c.hasExact(bytes('aws:servicecatalog:portfolioArn')) | ✔️ null |
| 🟢 | test-aws-servicecatalog-productarn | ✔️ 499 | ✔️ CA10__tagsJson__c.hasExact(bytes('aws:servicecatalog:productArn')) | ✔️ null |
| 🟢 | test-aws-servicecatalog-provisioningprincipalarn | ✔️ 599 | ✔️ CA10__tagsJson__c.hasExact(bytes('aws:servicecatalog:provisioningPrincipalArn')) | ✔️ null |
| 🟢 | test-aws-servicecatalog-provisionedproductarn | ✔️ 699 | ✔️ CA10__tagsJson__c.hasExact(bytes('aws:servicecatalog:provisionedProductArn')) | ✔️ null |
| 🟢 | test-aws-servicecatalog-provisioningartifactidentifier | ✔️ 799 | ✔️ CA10__tagsJson__c.hasExact(bytes('aws:servicecatalog:provisioningArtifactIdentifier')) | ✔️ null |
| 🟢 | test-no-automatic-provisioning-tags | ✔️ 800 | ✔️ otherwise | ✔️ null |
| 🟢 | test-aws-backup-managed-resource-not-supported | ✔️ 800 | ✔️ otherwise | ✔️ null |
| 🟢 | test-aws-application-migration-service-not-supported-for-ami | ✔️ 800 | ✔️ otherwise | ✔️ null |
| 🟢 | test-aws-elastic-disaster-recovery-not-supported-for-ami | ✔️ 800 | ✔️ otherwise | ✔️ null |
| 🟢 | test-aws-rds-custom-not-supported-for-ami | ✔️ 800 | ✔️ otherwise | ✔️ null |
| 🟢 | test-aws-dlm-incomplete-tags | ✔️ 800 | ✔️ otherwise | ✔️ null |
Generation Bundle
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/automated-provisioning/aws-ec2-image/policy.yaml | E1AF9E8E5D6AB3EF2EBB7AFC1CFAEA0E |
| Open | /ce/ca/automated-provisioning/aws-ec2-image/prod.logic.yaml | EA91BFA4952E4A60A0FE26DD52B0B2D7 |
| Open | /ce/ca/automated-provisioning/aws-ec2-image/test-data.json | 5741D1A8F9887B336B2D2A87E90D8F0E |
Available Commands
repo-manager policies generate FULL /ce/ca/automated-provisioning/aws-ec2-image/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/automated-provisioning/aws-ec2-image/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/automated-provisioning/aws-ec2-image/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/automated-provisioning/aws-ec2-image/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/automated-provisioning/aws-ec2-image/prod.logic.yaml
Content
---
inputType: "CA10__CaAwsImage__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 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"
- status: "COMPLIANT"
currentStateMessage: "The automated provisioning source is AWS Service Catalog."
check:
TAG_EXISTS:
name:
BYTES: "aws:servicecatalog:portfolioArn"
- status: "COMPLIANT"
currentStateMessage: "The automated provisioning source is AWS Service Catalog."
check:
TAG_EXISTS:
name:
BYTES: "aws:servicecatalog:productArn"
- status: "COMPLIANT"
currentStateMessage: "The automated provisioning source is AWS Service Catalog."
check:
TAG_EXISTS:
name:
BYTES: "aws:servicecatalog:provisioningPrincipalArn"
- status: "COMPLIANT"
currentStateMessage: "The automated provisioning source is AWS Service Catalog."
check:
TAG_EXISTS:
name:
BYTES: "aws:servicecatalog:provisionedProductArn"
- status: "COMPLIANT"
currentStateMessage: "The automated provisioning source is AWS Service Catalog."
check:
TAG_EXISTS:
name:
BYTES: "aws:servicecatalog:provisioningArtifactIdentifier"
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."