I set up a Fargate ecs service on AWS with multiple target groups and an application load balancer. It runs just as expected.
Then I tried to set up a pipeline using this tutorial
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-cd-pipeline.html
and now it is stuck at deployment stage and when I check out the deployments in ECS service. There's one ACTIVE and the other PRIMARY and I can visit both IPs. But the deployment never finishes and both will stay as my pipeline times out. Why is the ACTIVE one never going to drain in this case? Or is it because of the load balancer? I followed this tutorial with a service with single target group and the pipeline works as normal.