Skip to content

Commit 4855022

Browse files
use the attr from the the resource for the cluster name instead of input
Co-authored-by: Bryant Biggs <[email protected]>
1 parent 42725e4 commit 4855022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

outputs.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ output "bootstrap_brokers_tls" {
3939

4040
output "cluster_name" {
4141
description = "Name of the MSK cluster"
42-
value = var.name
42+
value = try(aws_msk_cluster.this[0].cluster_name, null)
4343
}
4444

4545
output "cluster_uuid" {

0 commit comments

Comments
 (0)