Not clear what to do if a task definition has multiple images
Problem to solve
In the doc
Your application Docker image will be rebuilt and pushed to the GitLab registry. Then the targeted task definition will be updated with the location of the new Docker image, and a new revision will be created in ECS as result.
I am using multiple images in task definition, namely a Nginx reverse proxy side-car, and my main app, and they both are in two separate repositories, as I want to deploy them separately. But it's not clear how will the template choose which image in the task definition will it replace with the new build. How do I specify that?
Further details
None
Proposal
Add a some clear conventions on how the structure of the Task Definition should be for this template to work.