providers/aws: extend InternetGateway timeout to be safe
This commit is contained in:
parent
71b30c633f
commit
265cc4fffa
|
@ -288,7 +288,7 @@ func IGAttachStateRefreshFunc(conn *ec2.EC2, id string, expected string) resourc
|
||||||
|
|
||||||
ig := &resp.InternetGateways[0]
|
ig := &resp.InternetGateways[0]
|
||||||
|
|
||||||
if time.Now().Sub(start) > 5 * time.Second {
|
if time.Now().Sub(start) > 10 * time.Second {
|
||||||
return ig, expected, nil
|
return ig, expected, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue