hello!! I noticed that Prefect UI will print out the ECS task id in the log output while the task starts running, I was wondering is there any way to directly retrieve it?
k
Kevin Kho
07/19/2022, 3:08 PM
I dont think that is stored anywhere on the Prefect side
y
Yiwei Hou
07/19/2022, 3:18 PM
oh… so like the attached screenshot, the Prefect UI clearly prints out the task id, but we don’t know where it’s saved?
Yiwei Hou
07/19/2022, 3:21 PM
a bit more info if it’s helpful; we predefined ECS task definition and the container gets registered beforehand
k
Kevin Kho
07/19/2022, 3:22 PM
I mean that in a sense that it’s not saved in the database, and it’s not in the context
Kevin Kho
07/19/2022, 3:23 PM
Like yes it’s used by the agent, but not the Flow container so the Flow has no knowledge of it