From 4b694a4fecc28dfaa974f98d10b342ee8b03a03d Mon Sep 17 00:00:00 2001 From: qivers Date: Fri, 2 Sep 2016 08:55:43 +0100 Subject: [PATCH] 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. --- builtin/providers/aws/resource_aws_rds_cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/aws/resource_aws_rds_cluster.go b/builtin/providers/aws/resource_aws_rds_cluster.go index ccb6328a6556..4cf2826a7ab6 100644 --- a/builtin/providers/aws/resource_aws_rds_cluster.go +++ b/builtin/providers/aws/resource_aws_rds_cluster.go @@ -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 }