provider/aws: Increase route_table timeouts (#8465)

This commit is contained in:
Carlos Sanchez 2016-08-27 22:32:55 +02:00 committed by Radek Simko
parent 5412ad54f7
commit bb5c83ca49
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ func resourceAwsRouteTableCreate(d *schema.ResourceData, meta interface{}) error
Pending: []string{"pending"},
Target: []string{"ready"},
Refresh: resourceAwsRouteTableStateRefreshFunc(conn, d.Id()),
Timeout: 1 * time.Minute,
Timeout: 2 * time.Minute,
}
if _, err := stateConf.WaitForState(); err != nil {
return fmt.Errorf(
@ -387,7 +387,7 @@ func resourceAwsRouteTableDelete(d *schema.ResourceData, meta interface{}) error
Pending: []string{"ready"},
Target: []string{},
Refresh: resourceAwsRouteTableStateRefreshFunc(conn, d.Id()),
Timeout: 1 * time.Minute,
Timeout: 2 * time.Minute,
}
if _, err := stateConf.WaitForState(); err != nil {
return fmt.Errorf(