https://prefect.io logo
Title
m

Mitch

05/17/2023, 8:22 PM
Hey team - on prefect 1, how are the parameters for each run passed into an ECS task definition? I do not quite understand. Any help on explaining the AWS side would be appreciated!
t

Taylor Curran

05/17/2023, 9:34 PM
Hi Mitch, You can either pass the Task Definition ARN or you can fill out the various fields such as CPU, Memory, etc and Prefect will create the task definition for you
image.png
We’ve recently released workers (you can think of these as next generation agents) The team is working on a guide for this now that explains in a bit more detail: https://github.com/PrefectHQ/prefect-aws/blob/5930a73967b0db7f2eb60a84bc43566fe27611ef/docs/ecs_guide.md
m

Mitch

05/24/2023, 2:56 PM
I'm trying to dfebug a flow which runs on ECS, and cannot find anywhere where the specific parameters were injected into the container. Are they injected using command overrides for the command or for the environment variables of the container?