π§ AWS OpenSearch Domain latest Service Software Update is not installed - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/opensearch/domain-software-update/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-05-09T12:03:32.066729652Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test1 | βοΈ 99 | βοΈ isDisappeared(CA10__disappearanceTime__c) | βοΈ null |
| π’ | test2 | βοΈ 199 | βοΈ extract('CA10__created__c') == 'false' | βοΈ null |
| π’ | test3 | βοΈ 299 | βοΈ extract('CA10__serviceSoftwareUpdateAvailable__c') == 'true' | βοΈ null |
| π’ | test4 | βοΈ 399 | βοΈ extract('CA10__serviceSoftwareUpdateAvailable__c') == 'false' | βοΈ null |
| π’ | test5 | βοΈ 201 | βοΈ CA10__serviceSoftwareUpdateAvailable__c.isEmpty() | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/opensearch/domain-software-update/policy.yaml | 4B73F452A3D835DC9EA781B7DA2D1407 |
| Open | /ce/ca/aws/opensearch/domain-software-update/prod.logic.yaml | 01812E7E19B5C8708E03202DF14969FA |
| Open | /ce/ca/aws/opensearch/domain-software-update/test-data.json | 26B28964CB930EFB7D09CD76FDC7C0A7 |
| Open | /types/CA10__CaAwsElasticsearchDomain__c/object.extracts.yaml | C9B19E0A5971D32C19DFC4DEEA0D39EC |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/aws/opensearch/domain-software-update/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/opensearch/domain-software-update/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/opensearch/domain-software-update/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/opensearch/domain-software-update/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/opensearch/domain-software-update/prod.logic.yaml
Contentβ
---
inputType: "CA10__CaAwsElasticsearchDomain__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10__CaAwsElasticsearchDomain__c/object.extracts.yaml"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "The OpenSearch domain is still being created."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__created__c"
right:
TEXT: "false"
- status: "INCOMPLIANT"
currentStateMessage: "A newer compatible service software version is available for the OpenSearch domain."
remediationMessage: "Install the latest compatible service software update during an approved maintenance window."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__serviceSoftwareUpdateAvailable__c"
right:
TEXT: "true"
- status: "COMPLIANT"
currentStateMessage: "The OpenSearch domain is running the latest available service software."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__serviceSoftwareUpdateAvailable__c"
right:
TEXT: "false"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values were found in the service software update fields."