Update ECS script to read JSON file input
When passing a CI_AWS_ECS_TASK_DEFINITION_FILE
file-type environment (or as a regular variable when it specifies an actual JSON file), a task definition can be updated/created using aws ecs register-task-definition --cli-input-json
.
Related documentation for that env. variable: gitlab!37854 (diffs)
Relates to gitlab#222618 (closed)
Tests will be written as part of another MR that's WIP: !24 (closed)
Edited by Etienne Baqué