-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[Bug]: rds mysql aurora force replacement on upgrade from 5.6 to 5.7 #27107
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
This issue is still occurring and with AWS retiring 5.6 we need to be able to upgrade. |
I have managed to upgrade it thanks to this issue and several hours of troubleshooting. In short:
|
At this point AWS is forcing updates to 5.7 since 5.6 went EOL last week.
Terraform now wants to re-create clusters that have been updated out from under it - I'd propose some action to make this a better experience. Maybe make |
I was able to update via console and match terraform to the updated cluster. No ideal but EOL approaching meant actioning it. |
Terraform Core Version
1.1.4
AWS Provider Version
4.33.0
Affected Resource(s)
mysql aurora rds instance
Expected Behavior
in place upgrade supposed to be happen while performing upgrade from mysql5.6 to mysql5.7 aurora engine
Actual Behavior
Force replacement of rds cluster & rds instance while performing upgrade from mysql5.6 to mysql5.7 aurora engine
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
previously provisioned mysql aurora resource was having below setting.
To upgrade the cluster both parameters get replace with.
Also created additional parameter group thats support aurora-mysql5.7 family.
Terraform plan shows both cluster & instance force replacement and its due to the
engine
change.Debug Output
No response
Panic Output
No response
Important Factoids
engine=aurora
is giving me some different short of error like:InvalidParameterCombination: The current DB instance parameter group test-database-parameter is custom. You must explicitly specify a new DB instance parameter group, either default or custom, for the engine version upgrade.
References
No response
Would you like to implement a fix?
No response
The text was updated successfully, but these errors were encountered: