Increase aws_rds_cluster timeout to 40 minutes

The timeout was increased to 40 minutes when creating a new cluster in https://github.com/hashicorp/terraform/pull/8052. However when creating a cluster from a snapshot the timeout is still 15 minutes. I've increased this to 40 minutes.
This commit is contained in:
qivers 2016-09-02 08:55:43 +01:00 committed by GitHub
parent 5669185e54
commit 4b694a4fec
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ func resourceAwsRDSClusterCreate(d *schema.ResourceData, meta interface{}) error
Pending: []string{"creating", "backing-up", "modifying"},
Target: []string{"available"},
Refresh: resourceAwsRDSClusterStateRefreshFunc(d, meta),
Timeout: 15 * time.Minute,
Timeout: 40 * time.Minute,
MinTimeout: 3 * time.Second,
Delay: 30 * time.Second, // Wait 30 secs before starting
}