provider/aws: Shorting retry timeout for Subnets to 2 minutes, from 5

This commit is contained in:
Clint Shryock 2015-05-05 11:20:29 -05:00
parent 3ce3b7c516
commit 272415303d
1 changed files with 1 additions and 1 deletions

View File

@ -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)