Skip to content

Commit daae382

Browse files
committed
fix: wait for ECS hardware provision to run task
1 parent e4111fb commit daae382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/task_definitions_run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ func taskDefinitionsRunRun(cmd *cobra.Command, args []string) {
196196
t.Must(err)
197197

198198
status := aws.StringValue(tasksStatus.Tasks[0].LastStatus)
199-
if status != "PENDING" {
199+
if status != "PENDING" && status != "PROVISIONING" {
200200
break
201201
}
202202

0 commit comments

Comments
 (0)