IGW detatch waiter tweak, 30 not found checks w/15 min max
This commit is contained in:
parent
3e69e2eca6
commit
c24fbc3f24
|
@ -207,8 +207,9 @@ func resourceAwsInternetGatewayDetach(d *schema.ResourceData, meta interface{})
|
||||||
Pending: []string{"detaching"},
|
Pending: []string{"detaching"},
|
||||||
Target: []string{"detached"},
|
Target: []string{"detached"},
|
||||||
Refresh: detachIGStateRefreshFunc(conn, d.Id(), vpcID.(string)),
|
Refresh: detachIGStateRefreshFunc(conn, d.Id(), vpcID.(string)),
|
||||||
Timeout: 5 * time.Minute,
|
Timeout: 15 * time.Minute,
|
||||||
Delay: 10 * time.Second,
|
Delay: 10 * time.Second,
|
||||||
|
NotFoundChecks: 30,
|
||||||
}
|
}
|
||||||
if _, err := stateConf.WaitForState(); err != nil {
|
if _, err := stateConf.WaitForState(); err != nil {
|
||||||
return fmt.Errorf(
|
return fmt.Errorf(
|
||||||
|
|
Loading…
Reference in New Issue