Skip to content

Commit

Permalink
provider/aws: increase timeout for aws_redshift_cluster (#6305)
Browse files Browse the repository at this point in the history
* provider/aws: increase timeout for aws_redshift_cluster

* provider/aws: increase timeout for redshift updates too
  • Loading branch information
clstokes authored and catsby committed Apr 22, 2016
1 parent 66af2b2 commit a7c2483
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions builtin/providers/aws/resource_aws_redshift_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ func resourceAwsRedshiftClusterCreate(d *schema.ResourceData, meta interface{})
Pending: []string{"creating", "backing-up", "modifying"},
Target: []string{"available"},
Refresh: resourceAwsRedshiftClusterStateRefreshFunc(d, meta),
Timeout: 5 * time.Minute,
MinTimeout: 3 * time.Second,
Timeout: 40 * time.Minute,
MinTimeout: 10 * time.Second,
}

_, err = stateConf.WaitForState()
Expand Down Expand Up @@ -424,8 +424,8 @@ func resourceAwsRedshiftClusterUpdate(d *schema.ResourceData, meta interface{})
Pending: []string{"creating", "deleting", "rebooting", "resizing", "renaming", "modifying"},
Target: []string{"available"},
Refresh: resourceAwsRedshiftClusterStateRefreshFunc(d, meta),
Timeout: 10 * time.Minute,
MinTimeout: 5 * time.Second,
Timeout: 40 * time.Minute,
MinTimeout: 10 * time.Second,
}

// Wait, catching any errors
Expand Down

0 comments on commit a7c2483

Please sign in to comment.