Skip to content

Commit 62edfe0

Browse files
committed
Make letter amendments queue FIFO
1 parent 5bc4e0e commit 62edfe0

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

infrastructure/terraform/components/api/module_sqs_letter_updates.tf

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@ module "sqs_letter_updates" {
22
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.26/terraform-sqs.zip"
33

44
aws_account_id = var.aws_account_id
5-
component = var.component
6-
environment = var.environment
7-
project = var.project
8-
region = var.region
9-
name = "letter-updates"
5+
component = var.component
6+
environment = var.environment
7+
project = var.project
8+
region = var.region
9+
name = "letter-updates"
10+
fifo_queue = true
11+
content_based_deduplication = true
12+
1013

1114
sqs_kms_key_arn = module.kms.key_arn
1215

0 commit comments

Comments
 (0)