outputs.tf
 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# outputs =====================================================================

output "event_bus_arns" {
  description = "Map of event bus keys to EventBridge event bus ARNs"
  value       = { for k, v in aws_cloudwatch_event_bus.this : k => v.arn }
}

output "event_bus_names" {
  description = "Map of event bus keys to EventBridge event bus names"
  value       = { for k, v in aws_cloudwatch_event_bus.this : k => v.name }
}

output "rule_arns" {
  description = "Map of rule keys to EventBridge rule ARNs"
  value       = { for k, v in aws_cloudwatch_event_rule.this : k => v.arn }
}

output "rule_ids" {
  description = "Map of rule keys to EventBridge rule IDs"
  value       = { for k, v in aws_cloudwatch_event_rule.this : k => v.id }
}

output "archive_arns" {
  description = "Map of event bus keys to EventBridge archive ARNs"
  value       = { for k, v in aws_cloudwatch_event_archive.this : k => v.arn }
}

output "connection_arns" {
  description = "Map of connection keys to EventBridge connection ARNs"
  value       = { for k, v in aws_cloudwatch_event_connection.this : k => v.arn }
}

output "connection_secret_arns" {
  description = "Map of connection keys to Secrets Manager ARNs storing the connection credentials"
  value       = { for k, v in aws_cloudwatch_event_connection.this : k => v.secret_arn }
}

output "api_destination_arns" {
  description = "Map of API destination keys to EventBridge API destination ARNs"
  value       = { for k, v in aws_cloudwatch_event_api_destination.this : k => v.arn }
}

output "pipe_arns" {
  description = "Map of pipe keys to EventBridge Pipe ARNs"
  value       = { for k, v in aws_pipes_pipe.this : k => v.arn }
}