Skip to content

Commit

Permalink
use NetworkWatcherRG for flow log
Browse files Browse the repository at this point in the history
  • Loading branch information
jksprattler committed Nov 27, 2024
1 parent f6342a5 commit 7dafd2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloud_Azure/terraform/module/network_watcher.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ resource "azurerm_network_watcher_flow_log" "kentik_network_flow_log" {

name = "${var.name}_flow_log_${each.value.name}"
network_watcher_name = data.azurerm_network_watcher.network_watcher.name
resource_group_name = each.value.rg
resource_group_name = "NetworkWatcherRG"
network_security_group_id = each.value.id
storage_account_id = azurerm_storage_account.logs_storage_account[each.value.rg].id
enabled = true
Expand Down

0 comments on commit 7dafd2a

Please sign in to comment.