ECS Works Pools Should Support Specifying Volumes for Flow Runs #383
-
With ECS Task blocks, you can supply EFS Volume parameters in JSON for the task definition like so TASK_DEFINITION = {
...
"containerDefinitions": [
{
"name": "prefect",
...
"mountPoints": [EFS_MOUNT_POINT],
},
],
"volumes": [EFS_VOLUME],
} But no such variables exist for templating an ECS job. Expectation / ProposalVolumes and mountPoints should be a JSON variable in the template |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for the issue @rjruizes! Custom fields like this are available in the ECS worker via templating, so we recommend using the ECS worker for more configurability. To achieve the same customization in the |
Beta Was this translation helpful? Give feedback.
Thanks for the issue @rjruizes! Custom fields like this are available in the ECS worker via templating, so we recommend using the ECS worker for more configurability. To achieve the same customization in the
ECSTask
block, you can use thetask_customizations
field. Let us know if you have further questions about either of those approaches!