Skip to content

Commit

Permalink
Merge branch 'master' into 2323-update-notification-with-new-messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyc1 authored Nov 8, 2023
2 parents 6c11a68 + a58c780 commit 349f8ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/tasks/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ scanExecution:
handler: src/tasks/scanExecution.handler
timeout: 300 # 5 minutes
environment:
SQS_QUEUE_NAME: ${self:provider.stage}-worker-queue
SQS_QUEUE_NAME: ${self:provider.stage}-worker-control-queue
events:
- sqs:
arn:
Expand Down
4 changes: 4 additions & 0 deletions infrastructure/pe_worker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,8 @@ resource "aws_ecs_service" "shodan_service" {
task_definition = aws_ecs_task_definition.pe_worker.arn
launch_type = "FARGATE"
desired_count = 0 # Initially set to 0, plan to start it dynamically
network_configuration {
subnets = aws_subnet.worker.*.id
security_groups = [aws_security_group.worker.id]
}
}

0 comments on commit 349f8ed

Please sign in to comment.