Skip to content

Commit 61cdf47

Browse files
authored
Merge pull request #24 from Insight-NA/mbraunwart/fix-identity-ids
Fix identity_ids handling in azurerm_storage_account resource
2 parents 3d043e8 + e83436c commit 61cdf47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ resource "azurerm_storage_account" "this" {
111111
for_each = var.identity == null ? [] : [var.identity]
112112
content {
113113
type = identity.value.type
114-
identity_ids = toset(values(identity.value.identity_ids))
114+
identity_ids = identity.value.identity_ids != null ? toset(values(identity.value.identity_ids)) : null
115115
}
116116
}
117117
dynamic "immutability_policy" {
@@ -376,4 +376,4 @@ resource "azurerm_storage_management_policy" "this" {
376376
update = timeouts.value.update
377377
}
378378
}
379-
}
379+
}

0 commit comments

Comments
 (0)