Hi, I'm trying to set up the ECS agent without usi...
# ask-community
s
Hi, I'm trying to set up the ECS agent without using dynamic flow task definitions (I already have a static task definition specified in the flow's
RunConfig/ECSRun
). When I am trying to start the agent, it tries to build the default parameters for a task definition and fails (since we don't have a default VPC). Is there a way to start the ECS agent without providing a task template and to only rely on the flow configuration instead?
Ah, I forgot that the network configuration is not part of the task definition, that's my mistake.
k
Hi @Saulius Beinorius! Are you good now?
I’m not sure this is what you’re looking for, but you can start an agent with the
run_task_kwargs
and supply the networking configuration there. Docs
s
Yeah, I figured out that it was screaming at me about networking because, well, I didn't give it any info about networking 🙂
k
Glad you figured it out 🙂