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

pull/9523/head
Radek Simko 10 years ago committed by GitHub
parent faa9c4ba59
commit eda1298e21

@ -349,7 +349,7 @@ func resourceAwsEcsServiceDelete(d *schema.ResourceData, meta interface{}) error
wait := resource.StateChangeConf{
Pending: []string{"DRAINING"},
Target: []string{"INACTIVE"},
Timeout: 5 * time.Minute,
Timeout: 10 * time.Minute,
MinTimeout: 1 * time.Second,
Refresh: func() (interface{}, string, error) {
log.Printf("[DEBUG] Checking if ECS service %s is INACTIVE", d.Id())

Loading…
Cancel
Save