-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
26 lines (20 loc) · 813 Bytes
/
Copy pathoutputs.tf
File metadata and controls
26 lines (20 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
output "lambda_arn" {
description = "Lambda arn"
value = aws_lambda_function.this_lambda.arn
}
output "sqs_queue_arn" {
description = "SQSqueue ARN"
value = length(aws_sqs_queue.this_sqs) > 0 ? aws_sqs_queue.this_sqs[0].arn : aws_sqs_queue.oxbow_lambda_fifo_sqs[0].arn
}
output "autotag_sqs_arn" {
description = "SQS arn for the autotagging lambda"
value = var.enable_auto_tagging == false ? "" : aws_sqs_queue.auto_tagging[0].arn
}
output "autotag_lambda" {
description = "Autotagging lambda Arn"
value = var.enable_auto_tagging == false ? "" : aws_lambda_function.auto_tagging[0].arn
}
output "dead_letters_monitor_ids" {
description = "IDs of the Datadog dead letter monitors"
value = [for monitor in datadog_monitor.dead_letters_monitor : monitor.id]
}