provider/aws: Shorting retry timeout for Subnets to 2 minutes, from 5
This commit is contained in:
parent
3ce3b7c516
commit
272415303d
|
@ -166,7 +166,7 @@ func resourceAwsSubnetDelete(d *schema.ResourceData, meta interface{}) error {
|
|||
wait := resource.StateChangeConf{
|
||||
Pending: []string{"pending"},
|
||||
Target: "destroyed",
|
||||
Timeout: 5 * time.Minute,
|
||||
Timeout: 2 * time.Minute,
|
||||
MinTimeout: 1 * time.Second,
|
||||
Refresh: func() (interface{}, string, error) {
|
||||
_, err := conn.DeleteSubnet(req)
|
||||
|
|
Loading…
Reference in New Issue