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?
Saulius Beinorius
05/11/2021, 1:20 PM
Ah, I forgot that the network configuration is not part of the task definition, that's my mistake.
k
Kevin Kho
05/11/2021, 2:16 PM
Hi @Saulius Beinorius! Are you good now?
Kevin Kho
05/11/2021, 2:17 PM
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
Saulius Beinorius
05/11/2021, 2:20 PM
Yeah, I figured out that it was screaming at me about networking because, well, I didn't give it any info about networking 🙂
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.