-
Notifications
You must be signed in to change notification settings - Fork 34
/
outputs.tf
53 lines (44 loc) · 2.59 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
output "cluster_name" {
description = "Msk cluster name"
value = aws_msk_cluster.this.cluster_name
}
output "default_security_group" {
description = "Msk cluster default security group id."
value = aws_security_group.this.id
}
output "extra_security_groups" {
description = "Msk cluster extra security group ids."
value = var.extra_security_groups
}
output "arn" {
description = "Amazon Resource Name (ARN) of the MSK cluster."
value = aws_msk_cluster.this.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. Only contains value if client_broker encryption in transit is set o PLAINTEXT or TLS_PLAINTEXT."
value = aws_msk_cluster.this.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. Only contains value if client_broker encryption in transit is set to TLS_PLAINTEXT or TLS."
value = aws_msk_cluster.this.bootstrap_brokers_tls
}
output "bootstrap_brokers_sasl_scram" {
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. Only contains value if client_broker encryption in transit is set to SASL SCRAM."
value = aws_msk_cluster.this.bootstrap_brokers_sasl_scram != "" ? aws_msk_cluster.this.bootstrap_brokers_sasl_scram : null
}
output "bootstrap_brokers_sasl_iam" {
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. Only contains value if client_broker encryption in transit is set to SASL IAM."
value = aws_msk_cluster.this.bootstrap_brokers_sasl_iam != "" ? aws_msk_cluster.this.bootstrap_brokers_sasl_iam : null
}
output "current_version" {
description = "Current version of the MSK Cluster used for updates, e.g. K13V1IB3VIYZZH"
value = aws_msk_cluster.this.current_version
}
output "encryption_at_rest_kms_key_arn" {
description = "The ARN of the KMS key used for encryption at rest of the broker data volumes."
value = aws_msk_cluster.this.encryption_info[0].encryption_at_rest_kms_key_arn
}
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 = aws_msk_cluster.this.zookeeper_connect_string
}