provider/aws: Increase subnet deletion timeout (#13356)

This commit is contained in:
Radek Simko 2017-04-05 13:09:44 +01:00 committed by GitHub
parent 1c0cd0dd8f
commit 77150880e0
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ func resourceAwsSubnetDelete(d *schema.ResourceData, meta interface{}) error {
wait := resource.StateChangeConf{ wait := resource.StateChangeConf{
Pending: []string{"pending"}, Pending: []string{"pending"},
Target: []string{"destroyed"}, Target: []string{"destroyed"},
Timeout: 5 * time.Minute, Timeout: 10 * time.Minute,
MinTimeout: 1 * time.Second, MinTimeout: 1 * time.Second,
Refresh: func() (interface{}, string, error) { Refresh: func() (interface{}, string, error) {
_, err := conn.DeleteSubnet(req) _, err := conn.DeleteSubnet(req)