Error deploying second ECS service

I’m trying to deploy a second ECS service on the same cluster using terraform (tflocal) and I get the following error:

Error: failed creating ECS service ( ServerException: An error occurred (ServerException) when calling the RunTask operation:
with aws_ecs_service.ecs_service, on line 89, in resource “aws_ecs_service” “ecs_service”:
89: resource “aws_ecs_service” “ecs_service” {

Looking at the localstack docker logs:

  • [ asgi_gw_5] : AWS ecs.CreateService => 400 (ServerException)

if I deploy this service alone it succeed. I checked all parameters and they are all seems right.
I’m running on Win10 with docker.

Please help