Open wangyi198682 opened 1 month ago
Voting for Prioritization
Volunteering to Work on This Issue
and I solve it by using following change to "aws_rds_global_cluster"
lifecycle {
ignore_changes = [
database_name,
]
}
Similar #28187
Terraform Core Version
Terraform v1.9.0
AWS Provider Version
5.45.0
Affected Resource(s)
No response
Expected Behavior
no drift or no diffs when terraform plan again.
Actual Behavior
after second round run terraform plan or apply, we saw that it tries to recreate global cluster.
and it recreates global cluster, this will cause global cluster's members being removed.
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
step1: terraform plan & apply. step2: after all the resources created, then run terraform plan again.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None