Christopher
02/10/2022, 5:58 PMECSAgent
running (in ECS, using the base prefect image with prefect agent ecs start
), but the tasks it spins up are in the wrong subnet so I want to customise the task definition. It looks like I can pass in a task definition path but that's a bit troublesome because now I need to store file somewhere accessible to the agent. Is there a way to pass a task definition ARN instead? It looks like I can pass that to ECSRun
but the subnet ID is generated by Terraform so I can't figure out how to get it into the Python...Kevin Kho
Christopher
02/10/2022, 6:28 PMKevin Kho
Christopher
02/10/2022, 9:32 PMKevin Kho
run_task_kwargs
or on the agent run_task_kwargs
Christopher
02/11/2022, 8:51 AMKevin Kho