A company stores container images in Amazon ECR and deploys to ECS. They want new deployments to pull the latest image when the tag remains the same (for example, latest). What should they do?

Answer

Use immutable tags (versioned tags) and update the task definition to the new image digest

Explanation

ECS task definitions reference image URIs; using versioned/immutable tags or digests ensures deployments pull the intended image content reliably.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list