https://pulumi.com logo
#aws
Title
# aws
c

creamy-insurance-89840

08/24/2023, 5:54 PM
Hi, this is maybe a newbie question because I'm not so familiar with pulumi/aws. I'm deploying multiple microservices using FargateService. Images are build before provisioning and stored in ECR repositories. The question is how pulumi/aws decide which fargate service it should replace? My understanding was that it will replace only the ones for which image changed in ecr repo. In my case where I have changes only in one microservice it will replace that one plus additional two, but not all of them so I have hard time to figure out what I'm missing.
m

millions-furniture-75402

08/24/2023, 5:57 PM
When the TaskDefinition changes, it triggers a redeployment of the service. So if you have a new image tag, then you should see the version of the task definition increase in the AWS console, and the service will attempt to deploy the new task.
c

creamy-insurance-89840

08/24/2023, 6:01 PM
In my case where I have changes only in one microservice it will replace that one (it has a new image) plus additional two (which don't have new image), but not all of them so I have hard time to figure out what I'm missing.