Skip to content

Commit e6a22c9

Browse files
committed
added outputs and message retention
1 parent 315ca08 commit e6a22c9

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

infrastructure/instance/modules/mns_publisher/sqs_test_publish_mns.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
resource "aws_sqs_queue" "mns_test_notification" {
55
name = "${var.mns_test_notification_name_prefix}-queue"
66
fifo_queue = false
7-
kms_master_key_id = aws_kms_key.mns_outbound_events.arn
7+
message_retention_seconds = 14400
88
visibility_timeout_seconds = 300
99
}
1010

infrastructure/instance/outputs.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,13 @@ output "id_sync_queue_arn" {
1818
description = "The ARN of the ID Sync (MNS NHS Number change) SQS queue"
1919
value = aws_sqs_queue.id_sync_queue.arn
2020
}
21+
22+
output "mns_test_queue_url" {
23+
value = aws_sqs_queue.mns_test_notifications.url
24+
description = "URL of the MNS test notifications queue"
25+
}
26+
27+
output "mns_test_queue_arn" {
28+
value = aws_sqs_queue.mns_test_notifications.arn
29+
description = "ARN of the MNS test notifications queue"
30+
}

0 commit comments

Comments
 (0)