[Bug]: aws_rds_cluster major version upgrade throws InvalidParameterCombination in second apply attempt #28219
Labels
bug
Addresses a defect in current functionality.
service/rds
Issues and PRs that pertain to the rds service.
Milestone
Terraform Core Version
1.0.8, 0.14.11
AWS Provider Version
4.30.0
Affected Resource(s)
aws_rds_cluster
db_instance_parameter_group_name
Expected Behavior
Trying to upgrade RDS Aurora cluster with one instance from Postgres engine version 13.7 to 14.3
apply_immediately set to true at cluster level. Also db_instance_parameter_group_name is passed to the cluster.
Expect cluster and instance to be upgraded.
Actual Behavior
On first plan and apply there are no parameter group related error. However if the first run fails for any given reason on second attempt upgrade fails with error:
Error: updating RDS Cluster: InvalidParameterCombination: The current DB instance parameter group is custom. You must explicitly specify a new DB instance parameter group, either default or custom, for the engine version upgrade
If the db_instance_parameter_group_name is changed then apply works again.
Relevant Error/Panic Output Snippet
Error: updating RDS Cluster: InvalidParameterCombination: The current DB instance parameter group is custom. You must explicitly specify a new DB instance parameter group, either default or custom, for the engine version upgrade
Terraform Configuration Files
Steps to Reproduce
Error: updating RDS Cluster: InvalidParameterCombination: The current DB instance parameter group is custom. You must explicitly specify a new DB instance parameter group, either default or custom, for the engine version upgrade
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: