Hello, I'm having some trouble with prefect agent when starting task. I don't really know why this error suddenly occurred, my flow used to work fine and I made some changes on my flow but not on the RunConf...
[2021-04-26 09:20:28,684] INFO - fargate-launch | Found 1 flow run(s) to submit for execution.
[2021-04-26 09:20:31,589] INFO - fargate-launch | Deploying flow run '6021f038-6c79-4e78-862a-e29143f7d205'
[2021-04-26 09:20:31,590] ERROR - fargate-launch | Logging platform error for flow run 6021f038-6c79-4e78-862a-e29143f7d205
[2021-04-26 09:20:34,079] ERROR - fargate-launch | Error while deploying flow
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.8/site-packages/prefect/agent/agent.py", line 414, in deploy_and_update_flow_run
deployment_info = self.deploy_flow(flow_run)
File "/home/ubuntu/.local/lib/python3.8/site-packages/prefect/agent/ecs/agent.py", line 296, in deploy_flow
taskdef = self.generate_task_definition(flow_run, run_config)
File "/home/ubuntu/.local/lib/python3.8/site-packages/prefect/agent/ecs/agent.py", line 370, in generate_task_definition
taskdef["family"] = f"prefect-{slug}"
TypeError: 'str' object does not support item assignment
Do you have any idea ? I didn't try to restart the agent, because I want to find the reason of this failure without resolving it just with a restart.
Thanks !