Skip to content

Commit 6bdd32c

Browse files
authored
Merge pull request #64 from AnkithaBH/feat-password-output
feat: Added password output value
2 parents d900473 + de5fe38 commit 6bdd32c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

output.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ output "azurerm_private_dns_zone_id" {
2020
description = "The Private DNS Zone ID."
2121
}
2222

23+
output "password_result" {
24+
value = var.admin_password == null ? random_password.main[0].result : var.admin_password
25+
description = "Password Value"
26+
sensitive = true
27+
}
2328

2429

2530

0 commit comments

Comments
 (0)