From 6385e406e51b72f483880cc17e280a0cafe4e871 Mon Sep 17 00:00:00 2001 From: mima Date: Mon, 21 Mar 2022 17:10:20 +0100 Subject: [PATCH] add network_interface_security_group_association --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 7103a4e..e345d68 100644 --- a/main.tf +++ b/main.tf @@ -122,8 +122,8 @@ resource "azurerm_subnet_network_security_group_association" "subnet_network_sec resource "azurerm_network_interface_security_group_association" "network_interface_security_group_association" { for_each = var.network_interface_security_group_association - network_interface_id = local.network_security_group[each.key].network_interface_id - network_security_group_id = local.network_security_group[each.key].network_security_group_id + network_interface_id = local.network_interface_security_group_association[each.key].network_interface_id + network_security_group_id = local.network_interface_security_group_association[each.key].network_security_group_id } /** Private Endpoint */