Skip to content

Commit

Permalink
fix: fixed the kafka_brokers_sasl output so it doesn't depends on t…
Browse files Browse the repository at this point in the history
…opic creation (#323)
  • Loading branch information
JunliWang authored Oct 25, 2024
1 parent 9586187 commit 246727d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ Brewfile.lock.json

# Visual Studio Code
.vscode/

tests/vendor
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ output "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
value = lookup(ibm_resource_instance.es_instance.extensions, "kafka_brokers_sasl", null)
}

output "kafka_http_url" {
Expand Down

0 comments on commit 246727d

Please sign in to comment.