aws-actions/amazon-ecs-render-task-definition

Task definition json

nodesocket opened this issue · 2 comments

Sorry if this is a silly question, but does the task-definition json have to exist in the repo itself? Anyway to pull it dynamically from ECR and just update the image?

This action won't pull it down, but in a previous step you can do:

- name: Download task def
  run: |
    aws ecs describe-task-definition --task-definition task-def-family --query taskDefinition > task-definition.json

Perfect that worked as expected.