hello!! I noticed that Prefect UI will print out t...
# prefect-community
y
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
I dont think that is stored anywhere on the Prefect side
y
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
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
okay, thanks for the clarification!!