Open nikkhn opened 1 year ago
Voting for Prioritization
Volunteering to Work on This Issue
Did not mean to close this issue!
+1
+1
I just ran into the same issue while upgrading an rds cluster from postgres12 to postgres13. and i am stuck.
╷ │ Error: Provider produced inconsistent final plan │ │ When expanding the plan for │ module.anchore_db.aws_rds_cluster_instance.cluster_instances["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("13"), but now cty.StringVal("12.12"). │ │ 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.anchore_db.aws_rds_cluster_instance.cluster_instances["2"] 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("13"), but now cty.StringVal("12.12"). │ │ This is a bug in the provider, which should be reported in the provider's │ own issue tracker.
Seeing this same issue with terraform 1.5.7 and aws provider 5.0 when attempting to upgrade from 14.7 to 15
Found that the issue for me was a failure in the pg_upgrade that was visible in the RDS logs. So not a provider issue.
@marksilcox Can you give more information? If there's a workaround or solution it would be great to know.
@justinretzolk Do you know if this might get looked at on your side?
Terraform Core Version
1.4.6
AWS Provider Version
4.67.0
Affected Resource(s)
aws_rds_cluster_instance
Expected Behavior
When upgrading
engine_version
to the next major version from14.6
to15
(also with theallow_major_version_upgrade = true
flag set) I expected the terraform plan to have changedengine_version
to15
Actual Behavior
I received the following error:
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Debug Output
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None