π§ AWS EKS Cluster IAM OIDC provider is not created - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/eks/cluster-oidc-provider/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
- π AWS EKS Cluster
- π AWS EKS Cluster - object.extracts.yaml
- π§ͺ test-data.json
Test Results π’β
Generated at: 2026-02-07T12:02:20.250849398Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test | βοΈ 99 | βοΈ isDisappeared(CA10A1__disappearanceTime__c) | βοΈ null |
| π’ | test2 | βοΈ 199 | βοΈ CA10A1__AWS_IAM_OpenID_Connect_Providers__r.hasNo(COMPLIANT) | βοΈ null |
| π’ | test3 | βοΈ 199 | βοΈ CA10A1__AWS_IAM_OpenID_Connect_Providers__r.hasNo(COMPLIANT) | βοΈ null |
| π’ | test4 | βοΈ 299 | βοΈ CA10A1__AWS_IAM_OpenID_Connect_Providers__r.has(COMPLIANT) | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/eks/cluster-oidc-provider/policy.yaml | A3B7EFFF4184D0FD38DF04CBFD71FCA5 |
| Open | /ce/ca/aws/eks/cluster-oidc-provider/prod.logic.yaml | C3CE139579E867DB8F627BE7274A39FE |
| Open | /ce/ca/aws/eks/cluster-oidc-provider/test-data.json | 8EC08D90EF7405093EDFBE33F2E97B34 |
| Open | /types/CA10A1__CaAwsEksCluster__c/object.extracts.yaml | 40E423BD15F099D7D2B8AE19BF4D325E |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/aws/eks/cluster-oidc-provider/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/eks/cluster-oidc-provider/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/eks/cluster-oidc-provider/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/eks/cluster-oidc-provider/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/eks/cluster-oidc-provider/prod.logic.yaml
Contentβ
inputType: "CA10A1__CaAwsEksCluster__c"
importExtracts:
- file: "/types/CA10A1__CaAwsEksCluster__c/object.extracts.yaml"
testData:
- file: "test-data.json"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The Cluster has no IAM OpenID Connect Provider."
remediationMessage: "Consider creating an IAM OIDC provider for the Cluster."
check:
RELATED_LIST_HAS_NO:
status: "COMPLIANT"
relationshipName: "CA10A1__AWS_IAM_OpenID_Connect_Providers__r"
- status: "COMPLIANT"
currentStateMessage: "The Cluster has an IAM OpenID Connect Provider."
check:
RELATED_LIST_HAS:
status: "COMPLIANT"
relationshipName: "CA10A1__AWS_IAM_OpenID_Connect_Providers__r"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Cluster neither has, nor has no IAM OpenID Connect Providers. This condition should not match to any object"
relatedLists:
- relationshipName: "CA10A1__AWS_IAM_OpenID_Connect_Providers__r"
conditions: []
otherwise:
status: "COMPLIANT"
currentStateMessage: "This is an IAM OpenID Connect Provider."