From 1313e95755ed3cbd421d50f9b6cb20320fecffef Mon Sep 17 00:00:00 2001 From: Byungjin Park Date: Fri, 8 Nov 2024 21:21:37 +0900 Subject: [PATCH] Add uuid output for msk-cluster --- modules/msk-cluster/outputs.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/msk-cluster/outputs.tf b/modules/msk-cluster/outputs.tf index 251d78b..055c8a9 100644 --- a/modules/msk-cluster/outputs.tf +++ b/modules/msk-cluster/outputs.tf @@ -3,6 +3,11 @@ output "arn" { value = aws_msk_cluster.this.arn } +output "uuid" { + description = "The UUID of the MSK cluster, for use in IAM policies." + value = aws_msk_cluster.this.cluster_uuid +} + output "name" { description = "The MSK cluster name." value = var.name