Skip to content

Commit

Permalink
Merge pull request #25 from quantum-sec/feature/XDR-4687
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholascwd authored Sep 28, 2023
2 parents 7eb8ce3 + eb1d1af commit 731c066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sentinel-watchlist/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ resource "azurerm_sentinel_watchlist" "watchlist" {
}

resource "azurerm_sentinel_watchlist_item" "watchlist_item" {
for_each = var.properties
for_each = { for index, elem in var.properties : index => elem }
watchlist_id = azurerm_sentinel_watchlist.watchlist.id
properties = each.value
}

0 comments on commit 731c066

Please sign in to comment.