Skip to content

Commit fb40101

Browse files
authored
fix condition use to verify custom_domain settings (#15)
1 parent e2ab84c commit fb40101

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
@@ -28,7 +28,7 @@ resource "azurerm_storage_account" "storage_account" {
2828
infrastructure_encryption_enabled = local.storage_account[each.key].infrastructure_encryption_enabled
2929

3030
dynamic "custom_domain" {
31-
for_each = local.storage_account[each.key].custom_domain.name == "" ? [1] : []
31+
for_each = local.storage_account[each.key].custom_domain.name != "" ? [1] : []
3232
content {
3333
name = local.storage_account[each.key].custom_domain.name
3434
use_subdomain = local.storage_account[each.key].custom_domain.use_subdomain

0 commit comments

Comments
 (0)