I have an ECS cluster/service/task definition using an image from my ECR repository.
Let's say I update the image with a new version, will ECS pick the changes automatically?
- Do I need to modify the task definition?
- Do I need to somehow reload/restart the task(s)?
My goal is to automate the deployment to ECS. I'm not sure if using CodeBuild to build and push the new image to ECR is enough, or if I need something else (codepipeline?) to deploy changes to ECS.
Note: task definition is using "latest" image tag, new images update that tag in ECR.