From fd4eeac7dca63012d4b979faaad7eba5360160cd Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Tue, 1 Jul 2014 10:11:11 -0700 Subject: [PATCH] providers/aws: timeout in state change conf --- builtin/providers/aws/resource_aws_instance.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/providers/aws/resource_aws_instance.go b/builtin/providers/aws/resource_aws_instance.go index 1bd18aceca..a1c9e3858c 100644 --- a/builtin/providers/aws/resource_aws_instance.go +++ b/builtin/providers/aws/resource_aws_instance.go @@ -85,6 +85,7 @@ func resource_aws_instance_destroy( Pending: []string{"pending", "running", "shutting-down", "stopped", "stopping"}, Target: "terminated", Refresh: InstanceStateRefreshFunc(ec2conn, s.ID), + Timeout: 10 * time.Minute, } _, err := stateConf.WaitForState()