RDS version upgrade from 14.9 to 16.3. RDS version should be upgraded successfully.
Actual Behavior
For some reason db parameter group name Cluster instance and Cluster are different, Which should not be the case as we are not modifying the db parameter group here.
Upon checking the status of the cluster instance parameter group it says "pending-reboot".
Cluster parameter group name shows default group name "default:aurora-postgresql-16"
Cluster instance parameter group name shows custom one "postgres"
Below is the error message while applying the plan,
│ Error: Provider produced inconsistent final plan
│
│ When expanding the plan for
│ module.use_cases.module.iota_utilization_and_benchmarking_db[0].aws_rds_cluster_instance.this[0]
│ to include new values learned so far during apply, provider
│ "registry.terraform.io/hashicorp/aws" produced an invalid new value for
│ .engine_version: was cty.StringVal("16.3"), but now cty.StringVal("14.9").
│
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.
╵
╷
│ Error: Provider produced inconsistent final plan
│
│ When expanding the plan for
│ module.use_cases.module.iota_utilization_and_benchmarking_db[0].aws_rds_cluster_instance.this[1]
│ to include new values learned so far during apply, provider
│ "registry.terraform.io/hashicorp/aws" produced an invalid new value for
│ .engine_version: was cty.StringVal("16.3"), but now cty.StringVal("14.9").
│
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.5.7
AWS Provider Version
5.47.0
Affected Resource(s)
Expected Behavior
RDS version upgrade from 14.9 to 16.3. RDS version should be upgraded successfully.
Actual Behavior
For some reason db parameter group name Cluster instance and Cluster are different, Which should not be the case as we are not modifying the db parameter group here.
Upon checking the status of the cluster instance parameter group it says "pending-reboot".
Cluster parameter group name shows default group name "default:aurora-postgresql-16" Cluster instance parameter group name shows custom one "postgres"
Below is the error message while applying the plan,
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Code Snippet
Steps to Reproduce
Run a plan which plans to modify a RDS DB version to 16.3.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None