🧠 AWS EC2 Elastic IP is unused - prod.logic.yaml🟢
- Contextual name: 🧠 prod.logic.yaml🟢
- ID:
/ce/ca/aws/ec2/elastic-ip-unused/prod.logic.yaml - Tags:
Uses
Test Results 🟢
Generated at: 2026-02-10T22:32:41.825849170Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| 🟢 | 001 | ✔️ 199 | ✔️ extract('CA10__associationId__c').isEmpty() | ✔️ null |
| 🟢 | 002 | ✔️ 200 | ✔️ otherwise | ✔️ null |
Generation Bundle
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/ec2/elastic-ip-unused/policy.yaml | 327AB5F17E16596B740A0F0F38B667F7 |
| Open | /ce/ca/aws/ec2/elastic-ip-unused/prod.logic.yaml | 75D74A1ADB76BA22DA440E05CC6FA0F7 |
| Open | /ce/ca/aws/ec2/elastic-ip-unused/test-data.json | E3FE86128D26B54B7E67B935D70AD22F |
| Open | /types/CA10__CaAwsElasticIp__c/object.extracts.yaml | F70A967FFE6C3B6C7D48474507307B38 |
Available Commands
repo-manager policies generate FULL /ce/ca/aws/ec2/elastic-ip-unused/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/ec2/elastic-ip-unused/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/ec2/elastic-ip-unused/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/ec2/elastic-ip-unused/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/ec2/elastic-ip-unused/prod.logic.yaml
Content
---
inputType: "CA10__CaAwsElasticIp__c"
importExtracts:
- file: "/types/CA10__CaAwsElasticIp__c/object.extracts.yaml"
testData:
- file: 'test-data.json'
conditions:
- status: INCOMPLIANT
currentStateMessage: "The Elastic IP address is not associated with any EC2 instance or network interface."
remediationMessage: "Release the unused Elastic IP address."
check:
IS_EMPTY:
arg:
EXTRACT: CA10__associationId__c
otherwise:
status: "COMPLIANT"
currentStateMessage: "The Elastic IP address is in use."