CircleCI-Public / aws-ecs-orb

An orb that simplifies deployment to Amazon's Elastic Container Service (ECS). Supports both EC2 and Fargate launch types.
https://circleci.com/orbs/registry/orb/circleci/aws-ecs
MIT License
51 stars 80 forks source link

Need to return the taskarn from run_task command #102

Closed anveshagarwal closed 2 years ago

anveshagarwal commented 4 years ago

What would you like to be added

I am working on polling the task status that is run by run_task. Now i am not able to get the task arn. I tried to use aws-cli to get the task arn that is just initiated by the the run_task. But no command seems good for my usecase. So it will be much better if i can just get the taskarn from the run_task command in BASH_ENV.

Why is this needed

It will make it much easy as straightforward to get the logs and poll the task which is intiated by run_task command.

brivu commented 2 years ago

Hey @anveshagarwal,

If we were to save the json output from running the run-task command, would that help your use case?

Best, Brian