Triage and Remediation
- Remediation
Remediation
Using Console
Using Console
To remediate “Redshift clusters should allow version upgrade” in the AWS Console, you need to enable “Allow version upgrade” on each cluster.
Step-by-step in AWS Console
-
Sign in to AWS Console
- Go to: https://console.aws.amazon.com/
- Choose the correct region where your Redshift cluster is deployed.
-
Open Amazon Redshift
- In the services search bar, type “Redshift” and select Amazon Redshift.
-
Go to Clusters
- In the left navigation pane, click “Provisioned clusters” (or “Clusters” if that’s what you see).
- You’ll see a list of existing Redshift clusters.
-
Select the Cluster
- Click the name of the cluster you want to fix.
- This opens the cluster details page.
-
Edit Cluster Settings
- On the cluster details page, look for the “Actions” button or an “Edit” button (UI varies slightly by console version).
- Choose “Edit” (or “Modify”).
-
Enable Allow Version Upgrade
- In the edit/modify form, scroll to the “Maintenance” or “Cluster configuration” section.
- Find the checkbox or toggle named “Allow version upgrade”.
- Set it to enabled/checked.
-
Save Changes
- Scroll to the bottom and click “Save changes” or “Modify cluster”.
- Confirm if a confirmation dialog appears.
-
Repeat for Other Clusters
- Repeat steps 4–7 for each Redshift cluster that needs this setting enabled.
Using CLI
Using CLI
To fix “Redshift Clusters Should Allow Version Upgrade” using AWS CLI, you need to set
This returns cluster identifiers (space-separated).
2. Check current
For a specific cluster:
All clusters should show
--allow-version-upgrade to true on each cluster.Below are concise, step-by-step instructions.1. List all Redshift clusters
2. Check current AllowVersionUpgrade setting (optional)
For a specific cluster:3. Enable version upgrade for a single cluster
--allow-version-upgrade without a value means true.4. Enable version upgrade for all clusters (bash loop)
5. Verify remediation
AllowVersionUpgrade as True.Using Python
Using Python
To remediate “Redshift Clusters Should Allow Version Upgrade” using Python (boto3), you need to set
2. Identify Redshift clusters where
If you want this to run automatically (e.g., as part of a Lambda remediation), the core logic is the
AllowVersionUpgrade=True on the cluster(s).Below is a concise step‑by‑step.1. Prerequisites
- AWS credentials configured (via environment variables, AWS profile, or IAM role).
boto3installed:
2. Identify Redshift clusters where AllowVersionUpgrade is False
3. Enable version upgrade on those clusters
4. Verify remediation
If you want this to run automatically (e.g., as part of a Lambda remediation), the core logic is the
remediate_all() function; you just need to adapt it into a Lambda handler and configure appropriate IAM permissions (redshift:DescribeClusters and redshift:ModifyCluster).Using Terraform
Using Terraform
YOUR_CLUSTER_IDENTIFIERwith the Redshift cluster identifier,YOUR_NODE_TYPEwith the desired node type (e.g.,dc2.large),YOUR_MASTER_USERNAME/YOUR_MASTER_PASSWORDwith your credentials.
terraform plan should show an in-place update with:allow_version_upgrade: "false" => "true"(or from its previous value totrue) and no-/+replacement indicator on the cluster.

