This question led me to solve a related problem that I was facing, so I wanted to point it out here. If someone in the future end up here with the same problem that I had, it can help.
If you are trying to deploy more than one service stack that runs tasks definitions on ECS for a application running in a docker image, and you are facing this:
error log image
The problem described here in this question may be the reason. You can check it by going to the ECS console, and searching for the service that is failing, it will show something related to "you've reached the maximum number of concurrently tasks...".
EDIT - PROBLEM SOLVED
I solved this problem by contacting the AWS support team. You just have to contact them by searching in the services list for:
AWS support -> Create Case -> Select that your problem is related to the ECS and related to Service quotas.
I had to open a case saying that I wanted to increase the number of quotas, wich by default is 5.000 (2022) but as we can see, if you are facing this error it isn't for some accounts.
So I opened the case requesting for 5.001 quotas, and them I explained the problem that I was facing. They said that it isn't a common error, but it happens with some accounts.