provider/aws: Increase ECS service drain timeout (#9521)

This commit is contained in:
Radek Simko 2016-10-22 14:16:59 +01:00 committed by GitHub
parent faa9c4ba59
commit eda1298e21
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ func resourceAwsEcsServiceDelete(d *schema.ResourceData, meta interface{}) error
wait := resource.StateChangeConf{ wait := resource.StateChangeConf{
Pending: []string{"DRAINING"}, Pending: []string{"DRAINING"},
Target: []string{"INACTIVE"}, Target: []string{"INACTIVE"},
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) {
log.Printf("[DEBUG] Checking if ECS service %s is INACTIVE", d.Id()) log.Printf("[DEBUG] Checking if ECS service %s is INACTIVE", d.Id())