Hello, I am trying to use the ECS block to deploy flows on Fargate. I have some questions on this:
• Is there a reason to use Task Definition vs. Task Definition arn field in the ECS block? Is it just preference on providing name vs. arn?
• Let's say I configure the ECS block with an existing task definition. This task definition includes the ECR image URI which was built with the flow script. But when building the deployment, it looks like I still need to include the path to the flow script. Referencing the example from
this doc. So what role is the image playing here vs. reference to the flow script?
prefect deployment build -n prod -q prod -a
-ib ecs-task/prod -sb s3/prod flow_script.py:flow_function_name