provider/aws: Consider ACTIVE as pending state during ECS svc deletion (#12986)

This commit is contained in:
Radek Simko 2017-03-23 09:29:15 +00:00 committed by GitHub
parent 1211783098
commit 202cde6282
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ func resourceAwsEcsServiceDelete(d *schema.ResourceData, meta interface{}) error
// Wait until it's deleted
wait := resource.StateChangeConf{
Pending: []string{"DRAINING"},
Pending: []string{"ACTIVE", "DRAINING"},
Target: []string{"INACTIVE"},
Timeout: 10 * time.Minute,
MinTimeout: 1 * time.Second,