From 6f27f90ae12cdf0654f4d245e625c42e68b8625b Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Fri, 27 Feb 2015 09:38:07 -0800 Subject: [PATCH] providers/aws: increase db instance wait times --- builtin/providers/aws/resource_aws_db_instance.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/providers/aws/resource_aws_db_instance.go b/builtin/providers/aws/resource_aws_db_instance.go index 41e304677..0670ff9ad 100644 --- a/builtin/providers/aws/resource_aws_db_instance.go +++ b/builtin/providers/aws/resource_aws_db_instance.go @@ -273,7 +273,7 @@ func resourceAwsDbInstanceCreate(d *schema.ResourceData, meta interface{}) error Pending: []string{"creating", "backing-up", "modifying"}, Target: "available", Refresh: resourceAwsDbInstanceStateRefreshFunc(d, meta), - Timeout: 20 * time.Minute, + Timeout: 40 * time.Minute, MinTimeout: 10 * time.Second, Delay: 30 * time.Second, // Wait 30 secs before starting } @@ -372,7 +372,7 @@ func resourceAwsDbInstanceDelete(d *schema.ResourceData, meta interface{}) error "modifying", "deleting", "available"}, Target: "", Refresh: resourceAwsDbInstanceStateRefreshFunc(d, meta), - Timeout: 20 * time.Minute, + Timeout: 40 * time.Minute, MinTimeout: 10 * time.Second, Delay: 30 * time.Second, // Wait 30 secs before starting }