Open TobiasAmmann opened 1 week ago
Voting for Prioritization
Volunteering to Work on This Issue
Hey @TobiasAmmann 👋 Thanks for taking the time to raise this! This kind of a modification of behavior to an existing resource (something that might be resolved with further validations) is something that we would consider an enhancement rather than a bug. With that in mind, I'm going to update a few things about this issue. There's no further action needed from you at this point, I just like to let people know before making these kinds of modifications.
Terraform Core Version
v1.3.9
AWS Provider Version
5.73.0
Affected Resource(s)
Expected Behavior
I think the easiest solution would be to make the
skip_final_snapshot
or thefinal_snapshot_identifier
property necessary. If thenskip_final_snapshot != true or final_snapshot_identifier != null
the terraform plan or apply should break the process with a message that those properties are necessary.Actual Behavior
Creation of this resource is ok:
But when trying to delete it, the following error appears:
Error: Redshift Cluster Instance FinalSnapshotIdentifier is required when a final snapshot is required
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Please not not forget to set the variables
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No