prefect
prefect copied to clipboard
It is not possible to customise ECS task docker command on custom images
https://github.com/PrefectHQ/prefect/blob/1e550ef0490154ee1e7d308fa2ba452d207014e5/src/prefect/agent/ecs/agent.py#L505
The hard coded command makes impossible to run ECS tasks using custom docker images having custom entry points/commands. If the hard coded command is commented, the task is created and runs as expected but in Prefect UI is always in "Submitted" state (meanwhile the task itself finished successfully). Also task logs, that I can see in cloudwatch, are not showed in Prefect UI. My configuration is exactly the same in https://docs.prefect.io/api/latest/run_configs.html#ecsrun and I'm using S3 storage. How can I run my custom images?