provider/aws: Increase subnet deletion timeout (#13356)
This commit is contained in:
parent
1c0cd0dd8f
commit
77150880e0
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue