From de5fe387e0ad8f6f7badd7e7e84680ee1e89f740 Mon Sep 17 00:00:00 2001 From: Hanumesh Date: Tue, 29 Oct 2024 18:36:07 +0530 Subject: [PATCH] Added password output value --- output.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/output.tf b/output.tf index 71cdaec..81c9840 100644 --- a/output.tf +++ b/output.tf @@ -20,6 +20,11 @@ output "azurerm_private_dns_zone_id" { description = "The Private DNS Zone ID." } +output "password_result" { + value = var.admin_password == null ? random_password.main[0].result : var.admin_password + description = "Password Value" + sensitive = true +}