Skip to content

Commit

Permalink
chore: edited paramater description
Browse files Browse the repository at this point in the history
  • Loading branch information
brivu committed Jun 9, 2022
1 parent 9e75060 commit b14dc92
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/commands/run-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ parameters:
default: ''
run-task-output:
description: |
Specifies a local file on to save the output from the aws ecs run-task command.
Specifies a local json file to save the output logs from the aws ecs run-task command. This will enable users to extract information like task-arn's, task-id's and more from the output.
type: string
default: ''
steps:
Expand Down
2 changes: 1 addition & 1 deletion src/jobs/run-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ parameters:
default: ""
run-task-output:
description: |
Specifies a local file on to save the output from the aws ecs run-task command.
Specifies a local json file to save the output logs from the aws ecs run-task command. This will enable users to extract information like task-arn's, task-id's and more from the output.
type: string
default: ''
steps:
Expand Down
3 changes: 2 additions & 1 deletion src/scripts/run-task.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,6 @@ set -- "$@" --cluster "$ECS_PARAM_CLUSTER_NAME"

if [ -n "${ECS_PARAM_RUN_TASK_OUTPUT}" ]; then
aws ecs run-task "$@" >> "${ECS_PARAM_RUN_TASK_OUTPUT}"
else
aws ecs run-task "$@"
fi
aws ecs run-task "$@"

0 comments on commit b14dc92

Please sign in to comment.