provider/aws: Increase ECS service drain timeout (#9521)
This commit is contained in:
parent
faa9c4ba59
commit
eda1298e21
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue