Skip to content

Commit

Permalink
providers/aws: extend InternetGateway timeout to be safe
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Jul 10, 2014
1 parent 71b30c6 commit 265cc4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/providers/aws/resource_aws_internet_gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ func IGAttachStateRefreshFunc(conn *ec2.EC2, id string, expected string) resourc

ig := &resp.InternetGateways[0]

if time.Now().Sub(start) > 5 * time.Second {
if time.Now().Sub(start) > 10 * time.Second {
return ig, expected, nil
}

Expand Down

0 comments on commit 265cc4f

Please sign in to comment.