Open DemonICOLI opened 4 months ago
Voting for Prioritization
Volunteering to Work on This Issue
I'm having the same issue. I simply want to change the identifier on the cluster and cluster instance and Terraform forces a recreate, which removes all data from the cluster. Is there any workaround?
Same issue here. It looks like workaround is to delete the resource from the state and re-import it...
Same issue here. It looks like workaround is to delete the resource from the state and re-import it...
Yes, I ended up removing the resources from the state, renaming the RDS cluster and cluster instance in the AWS console, and then re-importing them to the state. It works for now but it's a workaround.
Similar #34935 Related #38599
Terraform Core Version
1.9
AWS Provider Version
5.0
Affected Resource(s)
Expected Behavior
Neither of those resources should be force recreated as this change can be done no issues on AWS Console... this also seem to affect normal instances at some point, but fix was not propagated to cluster, https://github.com/hashicorp/terraform-provider-aws/issues/507
Actual Behavior
Cluster and Cluster instances will have their identifiers updated without recreation
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Create an aurora cluster and cluster instance try to rename them by use the identifier property
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None