Skip to content

Commit

Permalink
Fix subnets assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
aloftus23 committed Nov 7, 2023
1 parent e6455b7 commit 7f8704b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/pe_worker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ resource "aws_ecs_service" "shodan_service" {
launch_type = "FARGATE"
desired_count = 0 # Initially set to 0, plan to start it dynamically
network_configuration {
subnets = aws_subnet.worker.id
subnets = aws_subnet.worker.*.id
security_groups = [aws_security_group.worker.id]
}
}

0 comments on commit 7f8704b

Please sign in to comment.