-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
r/aws_redshift_cluster: skip_final_snapshot updates state only #36635
Conversation
Community NoteVoting for Prioritization
For Submitters
|
Previously an update to `skip_final_snapshot` would trigger a call to the ModifyCluster API, which fails if no other arguments are modified. Before: ``` Terraform will perform the following actions: # aws_redshift_cluster.example will be updated in-place ~ resource "aws_redshift_cluster" "example" { id = "tf-redshift-cluster" ~ skip_final_snapshot = false -> true tags = {} # (38 unchanged attributes hidden) # (1 unchanged block hidden) } Plan: 0 to add, 1 to change, 0 to destroy. aws_redshift_cluster.example: Modifying... [id=tf-redshift-cluster] ╷ │ Error: modifying Redshift Cluster (tf-redshift-cluster): InvalidParameterCombination: No modifications were requested │ status code: 400, request id: 0b087c95-ac6b-4ad6-8eed-ded497fb4a2e │ │ with aws_redshift_cluster.example, │ on main.tf line 13, in resource "aws_redshift_cluster" "example": │ 13: resource "aws_redshift_cluster" "example" { │ ╵ ``` After: ``` Terraform will perform the following actions: # aws_redshift_cluster.example will be updated in-place ~ resource "aws_redshift_cluster" "example" { id = "tf-redshift-cluster" ~ skip_final_snapshot = false -> true tags = {} # (38 unchanged attributes hidden) # (1 unchanged block hidden) } Plan: 0 to add, 1 to change, 0 to destroy. aws_redshift_cluster.example: Modifying... [id=tf-redshift-cluster] aws_redshift_cluster.example: Modifications complete after 1s [id=tf-redshift-cluster] Apply complete! Resources: 0 added, 1 changed, 0 destroyed. ```
e539ec7
to
3175a5b
Compare
This functionality has been released in v5.43.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
Previously an update to
skip_final_snapshot
would trigger a call to the ModifyCluster API, which fails if no other arguments are modified.Before:
After:
Relations
Relates #30160
References
Output from Acceptance Testing