-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
69 lines (56 loc) · 2.58 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
output "cluster_arn" {
description = "Amazon Resource Name (ARN) of the MSK cluster"
value = join("", aws_msk_cluster.default.*.arn)
}
output "bootstrap_brokers" {
description = "A comma separated list of one or more hostname:port pairs of kafka brokers suitable to boostrap connectivity to the kafka cluster"
value = join(",", aws_msk_cluster.default.*.bootstrap_brokers)
}
output "bootstrap_brokers_tls" {
description = "A comma separated list of one or more DNS names (or IPs) and TLS port pairs kafka brokers suitable to boostrap connectivity to the kafka cluster"
value = join(",", aws_msk_cluster.default.*.bootstrap_brokers_tls)
}
output "bootstrap_brokers_scram" {
description = "A comma separated list of one or more DNS names (or IPs) and TLS port pairs kafka brokers suitable to boostrap connectivity using SASL/SCRAM to the kafka cluster."
value = join(",", aws_msk_cluster.default.*.bootstrap_brokers_sasl_scram)
}
output "bootstrap_brokers_iam" {
description = "A comma separated list of one or more DNS names (or IPs) and TLS port pairs kafka brokers suitable to boostrap connectivity using SASL/IAM to the kafka cluster."
value = join(",", aws_msk_cluster.default.*.bootstrap_brokers_sasl_iam)
}
output "all_brokers" {
description = "A list of all brokers"
value = local.brokers
}
output "current_version" {
description = "Current version of the MSK Cluster used for updates"
value = join("", aws_msk_cluster.default.*.current_version)
}
output "zookeeper_connect_string" {
description = "A comma separated list of one or more hostname:port pairs to use to connect to the Apache Zookeeper cluster"
value = join(",", aws_msk_cluster.default.*.zookeeper_connect_string)
}
output "config_arn" {
description = "Amazon Resource Name (ARN) of the configuration"
value = join("", aws_msk_configuration.config.*.arn)
}
output "latest_revision" {
description = "Latest revision of the configuration"
value = join("", aws_msk_configuration.config.*.latest_revision)
}
output "hostname" {
description = "Comma separated list of one or more MSK Cluster Broker DNS hostname"
value = join(",", module.hostname.*.hostname)
}
output "cluster_name" {
description = "MSK Cluster name"
value = join("", aws_msk_cluster.default.*.cluster_name)
}
output "security_group_id" {
description = "The ID of the security group rule"
value = module.broker_security_group.id
}
output "security_group_name" {
description = "The name of the security group rule"
value = module.broker_security_group.name
}