forked from cloudposse/terraform-aws-mq-broker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
104 lines (84 loc) · 3.09 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
output "broker_id" {
value = join("", aws_mq_broker.default.*.id)
description = "AmazonMQ broker ID"
}
output "broker_arn" {
value = join("", aws_mq_broker.default.*.arn)
description = "AmazonMQ broker ARN"
}
output "primary_console_url" {
value = try(aws_mq_broker.default[0].instances[0].console_url, "")
description = "AmazonMQ active web console URL"
}
output "primary_ssl_endpoint" {
value = try(aws_mq_broker.default[0].instances[0].endpoints[0], "")
description = "AmazonMQ primary SSL endpoint"
}
output "primary_amqp_ssl_endpoint" {
value = try(aws_mq_broker.default[0].instances[0].endpoints[1], "")
description = "AmazonMQ primary AMQP+SSL endpoint"
}
output "primary_stomp_ssl_endpoint" {
value = try(aws_mq_broker.default[0].instances[0].endpoints[2], "")
description = "AmazonMQ primary STOMP+SSL endpoint"
}
output "primary_mqtt_ssl_endpoint" {
value = try(aws_mq_broker.default[0].instances[0].endpoints[3], "")
description = "AmazonMQ primary MQTT+SSL endpoint"
}
output "primary_wss_endpoint" {
value = try(aws_mq_broker.default[0].instances[0].endpoints[4], "")
description = "AmazonMQ primary WSS endpoint"
}
output "primary_ip_address" {
value = try(aws_mq_broker.default[0].instances[0].ip_address, "")
description = "AmazonMQ primary IP address"
}
output "secondary_console_url" {
value = try(aws_mq_broker.default[0].instances[1].console_url, "")
description = "AmazonMQ secondary web console URL"
}
output "secondary_ssl_endpoint" {
value = try(aws_mq_broker.default[0].instances[1].endpoints[0], "")
description = "AmazonMQ secondary SSL endpoint"
}
output "secondary_amqp_ssl_endpoint" {
value = try(aws_mq_broker.default[0].instances[1].endpoints[1], "")
description = "AmazonMQ secondary AMQP+SSL endpoint"
}
output "secondary_stomp_ssl_endpoint" {
value = try(aws_mq_broker.default[0].instances[1].endpoints[2], "")
description = "AmazonMQ secondary STOMP+SSL endpoint"
}
output "secondary_mqtt_ssl_endpoint" {
value = try(aws_mq_broker.default[0].instances[1].endpoints[3], "")
description = "AmazonMQ secondary MQTT+SSL endpoint"
}
output "secondary_wss_endpoint" {
value = try(aws_mq_broker.default[0].instances[1].endpoints[4], "")
description = "AmazonMQ secondary WSS endpoint"
}
output "secondary_ip_address" {
value = try(aws_mq_broker.default[0].instances[1].ip_address, "")
description = "AmazonMQ secondary IP address"
}
output "admin_username" {
value = local.mq_admin_user
description = "AmazonMQ admin username"
}
output "application_username" {
value = local.mq_application_user
description = "AmazonMQ application username"
}
output "security_group_id" {
value = module.security_group.id
description = "The ID of the created security group"
}
output "security_group_arn" {
value = module.security_group.arn
description = "The ARN of the created security group"
}
output "security_group_name" {
value = module.security_group.name
description = "The name of the created security group"
}