Open nijave opened 3 years ago
wonding if there a workaround for this or if this will get some attention.
Put this parameter
Put this parameter
in the resource aws_autoscaling_group. It's worked for me.
@ZdeAttre, I'm curious why it would work. In my setup, Terraform doesn't attempt to delete the ASG; it just stumbles on deleting the service. Interestingly, the web UI doesn't show the service.
Community Note
Description
New or Affected Resource(s)
The currrent implementation tries to delete for a given
timeout
but then waits for a fixed amount of time. This leads to failures for services that have high load balancer drain delays set https://github.com/hashicorp/terraform-provider-aws/blob/main/aws/resource_aws_ecs_service.go#L1119 https://github.com/hashicorp/terraform-provider-aws/blob/main/aws/resource_aws_ecs_service.go#L1141