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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| cluster | Name of the cluster Used to fetch the current stable task definition. This will also replace <CLUSTER> strings from you container-definitions file. | yes | — |
| service | Name of the service | yes | — |
| container_definitions_path | Path to your container definitions JSON file | yes | — |
| secrets_path | Path 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 | — |
| image | URI 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 | — |
Outputs
| name | description |
|---|---|
| path | Path to the generated task-definition file" |
| should_deploy | True if the current task definition is different than the one currently used by the given ECS service |
| current_task_definition_path | Path to a copy of the current stable task-definition running on the cluster |