We have a task that loads some configuration from database. After the settings are updated on db we would like to be able to restart all the tasks in a service so that the settings propagate to all instances.
I used
aws ecs update-service --force-new-deployment --cluster CLUSTER_NAME --service SERVICE_NAME
But this causes downtime. As this stops and start