provider/aws: Increase route_table timeouts (#8465)
This commit is contained in:
parent
5412ad54f7
commit
bb5c83ca49
|
@ -110,7 +110,7 @@ func resourceAwsRouteTableCreate(d *schema.ResourceData, meta interface{}) error
|
||||||
Pending: []string{"pending"},
|
Pending: []string{"pending"},
|
||||||
Target: []string{"ready"},
|
Target: []string{"ready"},
|
||||||
Refresh: resourceAwsRouteTableStateRefreshFunc(conn, d.Id()),
|
Refresh: resourceAwsRouteTableStateRefreshFunc(conn, d.Id()),
|
||||||
Timeout: 1 * time.Minute,
|
Timeout: 2 * time.Minute,
|
||||||
}
|
}
|
||||||
if _, err := stateConf.WaitForState(); err != nil {
|
if _, err := stateConf.WaitForState(); err != nil {
|
||||||
return fmt.Errorf(
|
return fmt.Errorf(
|
||||||
|
@ -387,7 +387,7 @@ func resourceAwsRouteTableDelete(d *schema.ResourceData, meta interface{}) error
|
||||||
Pending: []string{"ready"},
|
Pending: []string{"ready"},
|
||||||
Target: []string{},
|
Target: []string{},
|
||||||
Refresh: resourceAwsRouteTableStateRefreshFunc(conn, d.Id()),
|
Refresh: resourceAwsRouteTableStateRefreshFunc(conn, d.Id()),
|
||||||
Timeout: 1 * time.Minute,
|
Timeout: 2 * time.Minute,
|
||||||
}
|
}
|
||||||
if _, err := stateConf.WaitForState(); err != nil {
|
if _, err := stateConf.WaitForState(); err != nil {
|
||||||
return fmt.Errorf(
|
return fmt.Errorf(
|
||||||
|
|
Loading…
Reference in New Issue