<@ULVA73B9P> when creating an ECS Work Pool there ...
# ask-marvin
b
@Marvin when creating an ECS Work Pool there is an option for "Network Configuration". What is an example of this content when specifying subnets and security groups?
m
Here is an example of specifying subnets and security groups for an ECS Work Pool within the "Network Configuration":
Copy code
json
{
  "vpcs": [
    {
      "id": "vpc-xxxxxxxx",
      "subnets": ["subnet-xxxxxx1", "subnet-xxxxxx2"],
      "security_groups": ["sg-xxxxxxx"]
    }
  ]
}
Ensure that you replace the placeholders (
vpc-xxxxxxxx
,
subnet-xxxxxx1
,
subnet-xxxxxx2
,
sg-xxxxxxx
) with your actual VPC, subnet, and security group IDs. For more details on provisioning infrastructure for ECS Work Pools, you can visit the following Prefect ECS worker documentation and the Prefect guide on deployment. Always remember that even with all this information, it's a good idea to double-check the resources in your AWS environment.