I'm trying to launch a task on prefect 2 but my ec...
# ask-community
t
I'm trying to launch a task on prefect 2 but my ecs worker keeps failing to submit the task saying there's more than 16 subnets. I'm looking at the advanced job template in my work pool and it only has 5 subnets.
Copy code
"network_configuration": {
        "type": "object",
        "title": "Network Configuration",
        "default": {
          "Subnets": [
            "subnet-1",
            "subnet-2",
            "subnet-3",
            "subnet-4",
            "subnet-5"
          ]
        },
        "description": "When `network_configuration` is supplied it will override ECS Worker'sawsvpcConfiguration that defined in the ECS task executing your workload. See the [AWS documentation](<https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-awsvpcconfiguration.html>) for available options."
      },
Anyone seen anything like this?