agendrix/Build Task Definition from ECS Service

Build a task-definition from merging a given container-definitions JSON file into the task-definition of a running service on ECS.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
clusterName of the cluster Used to fetch the current stable task definition. This will also replace <CLUSTER> strings from you container-definitions file. yes
serviceName of the serviceyes
container_definitions_pathPath to your container definitions JSON fileyes
secrets_pathPath to a JSON file containing the list of secrets to append. Use this if your secrets are in a separate file than your container-definitions. This will replace all secrets fields from you container-definitions file. no
imageURI of the image to use. Use this if you need to dynamically change the name of an image in your container-definitions file. This will replace <IMAGE> strings from you container-definitions file. no
namedescription
pathPath to the generated task-definition file"
should_deployTrue if the current task definition is different than the one currently used by the given ECS service
current_task_definition_pathPath to a copy of the current stable task-definition running on the cluster