Open SorooshMani-NOAA opened 1 year ago
The vpc_id
was missing from the Prefect ECSTask
infrastructure definition. I got the EC2
launch type (without explicit placement) to work, next I can try FARGATE
but this time with vpc_id
added to the ECSTask
definition.
Prefect 2 is different in how the flow runs are passed to agents. To make ensemble work, first attempt was using Fargate task, to do so the
odssm-flowrun-task
needs to be modified to requireFARGATE
forrequires_compatibilities
and switched the network mode toawsvpc
. The main issue was that this would fail with an error like:So I switched back to
EC2
, but the problem there is adding the placement constraint. Right now using the secondEC2
works, as long as there's only a single mainend-to-end
run. Also #14 affects the run here.