amazon-ecs-deploy-task-definition icon indicating copy to clipboard operation
amazon-ecs-deploy-task-definition copied to clipboard

Deploy multiple services with same task definition

Open msalinasboz opened this issue 2 years ago • 2 comments

Hi! we use task definitions to deploy many services, but at the moment when the task definition is deployed, each service has a different version of it, we expect that the previous task definitions created by de action be the same for all the services, otherways in ecs we have a lot of task definition with the same definition but different number of task.

taskdeifnition

Some idea what is happen or what we are doing in the wrong way?

msalinasboz avatar Nov 26 '22 03:11 msalinasboz

Are you using strategy matrix to pull in multiple images from ECR to ECS? I am in a similar situation, where multiple tasks are created on ECS whenever a deployment of multi-containers takes place

varunchillara27 avatar Nov 26 '22 18:11 varunchillara27

No, im building the image in the job Build Image, then i take the output image and use it on task definition

msalinasboz avatar Nov 26 '22 21:11 msalinasboz