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?
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