https://prefect.io logo
#prefect-community
Title
# prefect-community
y

Yiwei Hou

07/19/2022, 3:06 PM
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?
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
Like yes it’s used by the agent, but not the Flow container so the Flow has no knowledge of it
y

Yiwei Hou

07/19/2022, 3:39 PM
okay, thanks for the clarification!!
3 Views