Is it possible to specify a subnet_id for a task t...
# ask-community
a
Is it possible to specify a subnet_id for a task to launch on when using a AWS ECS push pool? There's a field for specifying a vpc_id, but we need control over the specific subnet that the task is attached to
ah I think it's using the
network_configuration
section with this documentation https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-awsvpcconfiguration.html
b
Hi Austin! Yes, you'll be able to define the subnets you'd like to use for your flow runs in the ECS work pool template using the
network_configuration
field. I've attached an example json for an ECS push pool with the
network_configuration
field present, and with subnets configured, so you can see what it looks like. To add this field to your existing work pool, you can make changes to the base template json in the "Advanced" tab of the work pool config page.