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

Inserts a container image URI into an Amazon ECS task definition JSON file.
MIT License
274 stars 142 forks source link

Add ability to specify container definition command #212

Closed lucacorti closed 5 months ago

lucacorti commented 1 year ago

Description of changes:

This adds support for rendering the command used to start the container in the task definition.

Some context. I have multiple ecs services depending on the same image, but with different startup commands. This allows to build the docker image once and then render the task definitions and deploy them with different commands.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.