From 272415303d207b0b58045996bf23c17a70416af9 Mon Sep 17 00:00:00 2001 From: Clint Shryock Date: Tue, 5 May 2015 11:20:29 -0500 Subject: [PATCH] provider/aws: Shorting retry timeout for Subnets to 2 minutes, from 5 --- builtin/providers/aws/resource_aws_subnet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/aws/resource_aws_subnet.go b/builtin/providers/aws/resource_aws_subnet.go index cc0ddec19..1fa51bacb 100644 --- a/builtin/providers/aws/resource_aws_subnet.go +++ b/builtin/providers/aws/resource_aws_subnet.go @@ -166,7 +166,7 @@ func resourceAwsSubnetDelete(d *schema.ResourceData, meta interface{}) error { wait := resource.StateChangeConf{ Pending: []string{"pending"}, Target: "destroyed", - Timeout: 5 * time.Minute, + Timeout: 2 * time.Minute, MinTimeout: 1 * time.Second, Refresh: func() (interface{}, string, error) { _, err := conn.DeleteSubnet(req)