File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,15 @@ data "aws_iam_policy_document" "batch_file_created_queue_policy" {
99
1010 actions = [" sqs:SendMessage" ]
1111 resources = [
12- aws_sqs_queue . batch_file_created_queue . arn
12+ " arn:aws:sqs:eu-west-2: ${ var . immunisation_account_id } : ${ local . short_prefix } -batch-file-created-queue.fifo "
1313 ]
1414 }
1515}
1616
1717# FIFO SQS Queue - targetted by Event Bridge for new objects created in the data-sources S3 bucket
1818resource "aws_sqs_queue" "batch_file_created_queue" {
1919 name = " ${ local . short_prefix } -batch-file-created-queue.fifo"
20- policy = data. aws_iam_policy_document . batch_file_created_queue_policy . json
20+ policy = data. aws_iam_policy_document . batch_file_created_queue_policy . json
2121 fifo_queue = true
2222 content_based_deduplication = true # Optional, helps with deduplication
2323 visibility_timeout_seconds = 60
You can’t perform that action at this time.
0 commit comments