itay livni
06/15/2020, 2:08 PMLocalExcecutor
using a FargateAgent
. The error I am getting is.
Error while deploying flow: InvalidParameterException("An error occurred (InvalidParameterException) when calling the RunTask operation: Network Configuration must be provided when networkMode 'awsvpc' is specified.")
The FargateAgent
NetworkMode
is configured like this:
networkMode={
"awsvpcConfiguration": {
"assignPublicIp": "ENABLED",
"subnets": ["subnet-****"],
"securityGroups": ["sg-****"]
}
},
Any ideas? Thanks.josh
06/15/2020, 2:12 PMnetworkMode
try networkConfiguration
itay livni
06/15/2020, 2:23 PM[2020-06-15 14:13:53,696] INFO - agent | Adding tags for flow_id and version.
josh
06/15/2020, 2:25 PMitay livni
06/15/2020, 2:26 PMjosh
06/15/2020, 2:33 PMitay livni
06/15/2020, 2:38 PM[2020-06-15 14:34:02,698] INFO - agent | Deploying flow run 8.....
. Does the enviroment for the flow need to be explicitly set?
Like this
environment=RemoteEnvironment(executor="prefect.engine.executors.LocalExecutor")
josh
06/15/2020, 3:25 PMDeploying flow run
is the last log before it is shipped off to fargate for execution so I wouldn’t expect any other log after thatitay livni
06/15/2020, 3:29 PMjosh
06/15/2020, 3:31 PMitay livni
06/15/2020, 3:32 PMjosh
06/15/2020, 4:14 PMitay livni
06/15/2020, 4:16 PMlocal_image=True
. Changing it to False
could that be it?josh
06/15/2020, 4:44 PMitay livni
06/15/2020, 4:44 PMjosh
06/15/2020, 5:43 PM