Skip to content

Commit dcbde02

Browse files
committed
make output reference module
1 parent e6a22c9 commit dcbde02

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

infrastructure/instance/outputs.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ output "id_sync_queue_arn" {
2020
}
2121

2222
output "mns_test_queue_url" {
23-
value = aws_sqs_queue.mns_test_notifications.url
24-
description = "URL of the MNS test notifications queue"
23+
value = var.mns_publisher_feature_enabled ? module.mns_publisher[0].mns_test_queue_url : null
24+
description = "URL of the MNS test notifications queue (from mns_publisher module)"
2525
}
2626

2727
output "mns_test_queue_arn" {
28-
value = aws_sqs_queue.mns_test_notifications.arn
29-
description = "ARN of the MNS test notifications queue"
28+
value = var.mns_publisher_feature_enabled ? module.mns_publisher[0].mns_test_queue_arn : null
29+
description = "ARN of the MNS test notifications queue (from mns_publisher module)"
3030
}

0 commit comments

Comments
 (0)