Kyle McChesney
07/06/2022, 8:46 PM-l
(I want a login shell). Seems like currently its passing the command like so
overrides
containerOverrides
command": [
"/bin/sh",
"-c",
"prefect execute flow-run"
]
Also, possible or not, is this command stable / is it safe to customize this?flow_task_def.yml
file that I am using, I guess just wondering if its save to specify a custom command hereKevin Kho
Kyle McChesney
07/06/2022, 9:03 PMKevin Kho
Kyle McChesney
07/06/2022, 9:20 PMcommand
in the run task kwargs, given that the prefect run command is a bit opaque, and probably something yall want to keep tight control over. Perhaps adding 2 new parameters to ECSRun
• shell: str, default = ‘/bin/sh’
• shell arguments: [str], default = []
If set on the ECSRun, they could be injected into the command around here:
https://github.com/PrefectHQ/prefect/blob/master/src/prefect/agent/ecs/agent.py#L505Kevin Kho
Kyle McChesney
07/06/2022, 9:24 PMKevin Kho