Skip to main content

🧠 AWS Redshift Cluster automatic major version upgrade is not enabled - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-01-31T12:02:17.513588089Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒001βœ”οΈ 199βœ”οΈ extract('CA10__status__c') != 'available'βœ”οΈ null
🟒002βœ”οΈ 299βœ”οΈ extract('CA10__versionUpgrade__c') == 'Allowed'βœ”οΈ null
🟒003βœ”οΈ 300βœ”οΈ otherwiseβœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/redshift/cluster-version-upgrade/policy.yaml9364865079B6942746E4E2E9E7804CB1
Open/ce/ca/aws/redshift/cluster-version-upgrade/prod.logic.yamlB7DA0EDF88E6A095DF3305B89F023E40
Open/ce/ca/aws/redshift/cluster-version-upgrade/test-data.jsonDDF4F7FD258A8370470CB54BCEB53E93
Open/types/CA10__CaAwsRedshiftCluster__c/object.extracts.yamlDBF4D0413CB4EF01D13D17E4ED636EC5

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/redshift/cluster-version-upgrade/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/redshift/cluster-version-upgrade/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/redshift/cluster-version-upgrade/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/redshift/cluster-version-upgrade/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/redshift/cluster-version-upgrade/prod.logic.yaml

Content​

Open File

---
inputType: "CA10__CaAwsRedshiftCluster__c"
importExtracts:
- file: "/types/CA10__CaAwsRedshiftCluster__c/object.extracts.yaml"
testData:
- file: "test-data.json"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "The Cluster is not available."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__status__c"
right:
TEXT: "available"
- status: "COMPLIANT"
currentStateMessage: "The Redshift Cluster Version Upgrade is enabled."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__versionUpgrade__c"
right:
TEXT: "Allowed"
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "The Redshift Cluster Version Upgrade is not enabled."
remediationMessage: "Consider enabling Version Upgrade for the Cluster."