I have docker container with one application, application runs based on input parameters, passed to entrypoint. I want to create one task definition for ECS and run multiple containers in parallel in one task definition with different input parameters for each container.
The issue is - that I cannot do it without setting essential option to one of my containers in task definition. But, I do not want stop others, if my essential container finishes. All containers are independent.
Possible option is to create one task definition per one container. But it will cost more, because my application doesn't use lot of resources.
Is there any other solution or approach to run multiple containers in one task definition not rely on essential option?