-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RDS: cannot major-version upgrade Aurora cluster with custom instance parameter group #26072
Comments
Whatever you pass in for the name in |
Sure. With:
Without:
Note the instance with or without the hatch has the correct group name:
|
I have just come across this issue too. I managed to fix using a slightly simpler escape-hatch:
|
Make sure you remove/comment out the escape hatch after upgrading your RDS cluster, because if you leave it there in a subsequent stack update, you will then get another error: The parameter db-instance-parameter-group-name can only be specified for a major version upgrade. |
Describe the bug
In order to do an in-place major version upgrade of Aurora, you need to set
dbInstanceParameterGroupName
on the cluster, not just on the individual instances. You cannot do this today.Expected Behavior
Aurora cluster would do a major version upgrade
Current Behavior
On trying to upgrade the cluster:
Error: The stack named XXXX failed to deploy: UPDATE_ROLLBACK_COMPLETE: Resource handler returned message: "The current DB instance parameter group XXXXX is custom. You must explicitly specify a new DB instance parameter group, either default or custom, for the engine version upgrade.
Reproduction Steps
Possible Solution
Workaround:
Additional Information/Context
No response
CDK CLI Version
2.61.1
Framework Version
No response
Node.js Version
20.1.0
OS
macos
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: