🧠 AWS Lambda Function auto-provisioning status - prod.logic.yaml🟠🟢
- Contextual name: 🧠 prod.logic.yaml🟠🟢
- ID:
/ce/ca/automated-provisioning/aws-lambda-function/prod.logic.yaml - Tags:
Uses
Test Results 🟢
Generated at: 2026-09-22T15:05:15.987332377Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| 🟢 | test-aws-cloudformation-logical-id | ✔️ 199 | ✔️ CA10__tagsJson__c.hasExact(bytes('aws:cloudformation:logical-id')) | ✔️ null |
| 🟢 | test-aws-cloudformation-stack-id | ✔️ 299 | ✔️ CA10__tagsJson__c.hasExact(bytes('aws:cloudformation:stack-id')) | ✔️ null |
| 🟢 | test-aws-cloudformation-stack-name | ✔️ 399 | ✔️ CA10__tagsJson__c.hasExact(bytes('aws:cloudformation:stack-name')) | ✔️ null |
| 🟢 | test-aws-servicecatalog-portfolioarn | ✔️ 499 | ✔️ CA10__tagsJson__c.hasExact(bytes('aws:servicecatalog:portfolioArn')) | ✔️ null |
| 🟢 | test-aws-servicecatalog-productarn | ✔️ 599 | ✔️ CA10__tagsJson__c.hasExact(bytes('aws:servicecatalog:productArn')) | ✔️ null |
| 🟢 | test-aws-servicecatalog-provisioningprincipalarn | ✔️ 699 | ✔️ CA10__tagsJson__c.hasExact(bytes('aws:servicecatalog:provisioningPrincipalArn')) | ✔️ null |
| 🟢 | test-aws-servicecatalog-provisionedproductarn | ✔️ 799 | ✔️ CA10__tagsJson__c.hasExact(bytes('aws:servicecatalog:provisionedProductArn')) | ✔️ null |
| 🟢 | test-aws-servicecatalog-provisioningartifactidentifier | ✔️ 899 | ✔️ CA10__tagsJson__c.hasExact(bytes('aws:servicecatalog:provisioningArtifactIdentifier')) | ✔️ null |
| 🟢 | test-lambda-created-by-sam | ✔️ 999 | ✔️ CA10__tagsJson__c.getExact(bytes('lambda:createdBy')) == 'SAM' | ✔️ null |
| 🟢 | test-no-automatic-provisioning-tags | ✔️ 1000 | ✔️ otherwise | ✔️ null |
| 🟢 | test-lambda-created-by-unexpected-value | ✔️ 1000 | ✔️ otherwise | ✔️ null |
| 🟢 | test-serverlessrepo-tags-not-supported | ✔️ 1000 | ✔️ otherwise | ✔️ null |
Generation Bundle
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/automated-provisioning/aws-lambda-function/policy.yaml | E8FBF11211D1913C5BD2F6AC8C949B4D |
| Open | /ce/ca/automated-provisioning/aws-lambda-function/prod.logic.yaml | 5FFF257A2BAD72D836911A2F5F0FBE4C |
| Open | /ce/ca/automated-provisioning/aws-lambda-function/test-data.json | FA379A27FF0C6ABC69651D0245028D7C |
Available Commands
repo-manager policies generate FULL /ce/ca/automated-provisioning/aws-lambda-function/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/automated-provisioning/aws-lambda-function/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/automated-provisioning/aws-lambda-function/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/automated-provisioning/aws-lambda-function/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/automated-provisioning/aws-lambda-function/prod.logic.yaml
Content
---
inputType: "CA10__CaAwsLambdaFunction__c"
testData:
- file: "test-data.json"
conditions:
- status: "COMPLIANT"
currentStateMessage: "The automated provisioning source is AWS CloudFormation."
check:
TAG_EXISTS:
name:
BYTES: "aws:cloudformation:logical-id"
- status: "COMPLIANT"
currentStateMessage: "The automated provisioning source is AWS CloudFormation."
check:
TAG_EXISTS:
name:
BYTES: "aws:cloudformation:stack-id"
- status: "COMPLIANT"
currentStateMessage: "The automated provisioning source is AWS CloudFormation."
check:
TAG_EXISTS:
name:
BYTES: "aws:cloudformation:stack-name"
- 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"
- status: "COMPLIANT"
currentStateMessage: "The automated provisioning source is AWS SAM."
check:
IS_EQUAL:
left:
TAG_VALUE_TEXT:
name:
BYTES: "lambda:createdBy"
right:
TEXT: "SAM"
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."