Skip to content

Commit

Permalink
fixing the task_subnets logic
Browse files Browse the repository at this point in the history
  • Loading branch information
brifordwylie committed Mar 3, 2025
1 parent 9debc20 commit b443c37
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def __init__(self, scope: Construct, id: str, props: WorkbenchDashboardStackProp
container.add_port_mappings(ecs.PortMapping(container_port=8000))

# Were we given a subnet selection?
# TODO: This isn't currently working, so we need to figure out how to use existing subnets
subnet_selection = None
if props.existing_subnet_ids:
subnets = [
Expand Down Expand Up @@ -166,7 +165,7 @@ def __init__(self, scope: Construct, id: str, props: WorkbenchDashboardStackProp
security_groups=[lb_security_group],
open_listener=False,
certificate=certificate,
# task_subnets=subnet_selection
task_subnets=subnet_selection
)

# Remove all default security groups from the load balancer
Expand Down

0 comments on commit b443c37

Please sign in to comment.