Skip to content

Commit

Permalink
feat(ecs): add complete run task action
Browse files Browse the repository at this point in the history
  • Loading branch information
briancaffey committed Feb 29, 2024
1 parent fb614bb commit 8d7e64b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ecr-run-task/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ runs:
# run the migration task and capture the taskArn into a variable called TASK_ID
TASK_ID=$( \
aws ecs run-task \
--cluster $BASE_ENV-cluster \
--cluster $APP_ENV-cluster \
--task-definition $TASK_DEFINITION_ARN \
--network-configuration "awsvpcConfiguration={subnets=[$SUBNET_IDS],securityGroups=[$SECURITY_GROUPS],assignPublicIp=ENABLED}" \
| jq -r '.tasks[0].taskArn' \
Expand All @@ -114,7 +114,7 @@ runs:
aws ecs wait tasks-stopped \
--tasks $TASK_ID \
--cluster $BASE_ENV-cluster
--cluster $APP_ENV-cluster
END_TIME=$(date +%s000)
Expand Down

0 comments on commit 8d7e64b

Please sign in to comment.