Open frosty-007 opened 4 years ago
Reszie successfully completes in AWS while terraform reports back the following.
Error: Error Modifying Redshift Cluster (analytics-tx-cluster): timeout while waiting for state to become 'available' (last state: 'resizing', timeout: 40m0s)
on analytics.tf line 1, in resource "aws_redshift_cluster" "analytics_tx_cluster":
1: resource "aws_redshift_cluster" "analytics_tx_cluster" {
On resizing back down to 4 cluster nodes this also ran as a classic resize and this completed successfully. However I believe this should have ran as online elastic resize.
Hey @frosty-007 :wave: Thank you for taking the time to file this issue, and for the additional updates. Given that there's been a number of AWS provider releases since you initially filed it, can you confirm whether you're still experiencing this behavior?
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.
If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!
Community Note
Terraform Version
Terraform v0.12.4 provider version = "~> 2.8"
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
According to the API elastic resize should be the default resize method. One would expect modification of number_of_nodes that is within the conditions for an elastic resize to actually trigger an elastic resize.
Actual Behavior
Classic Resize was performed instead of the Elastic resize taking the cluster offline. Classic resize successfully completes - but not great that the cluster has been taken offline, when a few minutes of downtime was expected.
Steps to Reproduce
Increased node count from 4 - 8 terraform apply
Important Factoids
References
0000