Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions infra/terraform/bootstrap/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,17 @@ resource "aws_iam_policy" "github_actions_policy" {
"sns:*"
]
Resource = "arn:aws:sns:${var.aws_region}:*:jaildata-alerts-*"
},

# SQS permissions for Serverless Framework
{
Effect = "Allow"
Action = [
"sqs:*"
]
Resource = [
"arn:aws:sqs:${var.aws_region}:*:jaildata-*"
]
}
]
})
Expand Down
2 changes: 1 addition & 1 deletion serverless/api/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ functions:
- sqs:
arn: !GetAtt BatchProcessingQueue.Arn
batchSize: 10
maximumBatchingWindowInSeconds: 30
maximumBatchingWindow: 30

# Get inmates by facility (with status filter)
getInmatesByFacility:
Expand Down