-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
33 lines (27 loc) · 1.06 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
##############################################################################
# Outputs
##############################################################################
output "id" {
description = "Event Streams instance id"
value = ibm_resource_instance.es_instance.id
}
output "crn" {
description = "Event Streams crn"
value = ibm_resource_instance.es_instance.crn
}
output "guid" {
description = "Event Streams guid"
value = ibm_resource_instance.es_instance.guid
}
output "kafka_brokers_sasl" {
description = "(Array of Strings) Kafka brokers use for interacting with Kafka native API"
value = length(ibm_event_streams_topic.es_topic) > 0 ? ibm_event_streams_topic.es_topic[0].kafka_brokers_sasl : null
}
output "kafka_http_url" {
description = "The API endpoint to interact with Event Streams REST API"
value = ibm_resource_instance.es_instance.extensions.kafka_http_url
}
output "kafka_broker_version" {
description = "The Kafka version"
value = ibm_resource_instance.es_instance.extensions.kafka_broker_version
}