Skip to main content

🧠 AWS Redshift Cluster Enhanced VPC Routing is not enabled - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-02-05T22:32:02.494611279Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 199βœ”οΈ extract('CA10__status__c') != 'available'βœ”οΈ null
🟒test3βœ”οΈ 299βœ”οΈ extract('CA10__enhancedVpcRouting2__c') == 'Disabled'βœ”οΈ null
🟒test4βœ”οΈ 399βœ”οΈ extract('CA10__enhancedVpcRouting2__c') == 'Enabled'βœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/redshift/cluster-enhanced-vpc-routing/policy.yaml9710731D247AC5255BDB3CE431555F60
Open/ce/ca/aws/redshift/cluster-enhanced-vpc-routing/prod.logic.yamlF15C305D1D7DEE856E87A8253C98B407
Open/ce/ca/aws/redshift/cluster-enhanced-vpc-routing/test-data.json25A150A60B0DA2CAE3FE6E36A86C4C54
Open/types/CA10__CaAwsRedshiftCluster__c/object.extracts.yaml978033E93A3BC4EEE31B6916039330FF

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/redshift/cluster-enhanced-vpc-routing/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/redshift/cluster-enhanced-vpc-routing/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/redshift/cluster-enhanced-vpc-routing/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/redshift/cluster-enhanced-vpc-routing/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/redshift/cluster-enhanced-vpc-routing/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: "INCOMPLIANT"
currentStateMessage: "Enhanced VPC Routing is disabled for this Redshift cluster."
remediationMessage: "Modify the cluster configuration to enable Enhanced VPC Routing."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__enhancedVpcRouting2__c"
right:
TEXT: "Disabled"
- status: "COMPLIANT"
currentStateMessage: "Enhanced VPC Routing is enabled."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__enhancedVpcRouting2__c"
right:
TEXT: "Enabled"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the fields."