Skip to content

Commit 3247862

Browse files
committed
Fixed queue naming
1 parent 0534861 commit 3247862

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

infrastructure/terraform/components/api/module_sqs_amendments_queue.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module "amendments_queue" {
66
environment = var.environment
77
project = var.project
88
region = var.region
9-
name = "${local.csi}-amendments-queue"
9+
name = "amendments-queue"
1010

1111
fifo_queue = true
1212
content_based_deduplication = true

infrastructure/terraform/components/api/module_sqs_supplier_events_queue.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module "supplier_events_queue" {
66
environment = var.environment
77
project = var.project
88
region = var.region
9-
name = "${local.csi}-supplier-events-queue"
9+
name = "supplier-events-queue"
1010

1111
fifo_queue = true
1212
content_based_deduplication = true
@@ -35,7 +35,7 @@ data "aws_iam_policy_document" "supplier_events_queue_policy" {
3535
]
3636

3737
resources = [
38-
"arn:aws:sqs:${var.region}:${var.aws_account_id}:${local.csi}-supplier-events-queue.fifo"
38+
"arn:aws:sqs:${var.region}:${var.aws_account_id}:${var.project}-${var.environment}-${var.component}-supplier-events-queue.fifo"
3939
]
4040

4141
condition {

infrastructure/terraform/components/api/module_sqs_supplier_requests_queue.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
module "supplier_requests_queue" {
33
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.24/terraform-sqs.zip"
44

5-
name = "${local.csi}-supplier-requests-queue"
5+
name = "supplier-requests-queue"
66

77
aws_account_id = var.aws_account_id
88
component = var.component

0 commit comments

Comments
 (0)