Sumant Agnihotri
05/28/2022, 4:56 PM~/.aws/config
and did prefect auth login
using my API Token. Then I'm running the prefect agent ecs start
command, expecting an Agent to be created in Fargate and linked to my Cloud, but I'm getting the following error:
ERROR - agent | Failed to infer default networkConfiguration, please explicitly configure using `--run-task-kwargs`
Traceback (most recent call last):
...
ValueError: Failed to infer default networkConfiguration, please explicitly configure using `--run-task-kwargs`
What am I doing wrong?Kevin Kho
run-task-kwargs
Sumant Agnihotri
05/29/2022, 4:27 AMoptions.yaml
file will look like.Kevin Kho
run-task-kwargs
which is a different set of inputs (there is a link to the AWS docs from the Agent docs for that)Sumant Agnihotri
05/30/2022, 6:38 AMcluster
, it didn't work.
As a workaround, I created a Docker that just installs and runs Prefect local agent
, then I'm running the docker image on Fargate.Kevin Kho
Blake Hamm
06/30/2022, 6:45 PMcluster
as well and I'm getting the same error. I can't find a full example YAML file either. Were you able to create a working one?Kevin Kho
Jonathan Mathews
08/01/2022, 5:33 PM