Skip to content

Commit e134997

Browse files
authored
Merge pull request #4 from kumarvna/develop
module update
2 parents 1558b98 + 19487d8 commit e134997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ resource "azurerm_key_vault" "main" {
143143
}
144144

145145
resource "random_password" "passwd" {
146-
for_each = var.secrets
146+
for_each = { for k, v in var.secrets : k => v if v == "" }
147147
length = 24
148148
min_upper = 4
149149
min_lower = 2

0 commit comments

Comments
 (0)