From 5f501393350b1b8d638af1dc3e6e9975cd994c92 Mon Sep 17 00:00:00 2001 From: "martin.yang" Date: Sat, 23 Nov 2024 16:11:13 +1100 Subject: [PATCH] Remove unused subnet configuration from azurerm_virtual_network resource in main.tf --- main/main.tf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/main/main.tf b/main/main.tf index 5796010..b32815e 100644 --- a/main/main.tf +++ b/main/main.tf @@ -56,11 +56,7 @@ resource "azurerm_virtual_network" "example" { #security_group = azurerm_network_security_group.example.id } - subnet { - name = "waf-subnet" - address_prefixes = ["10.0.7.0/24"] - #security_group = azurerm_network_security_group.example.id - } + tags = { environment = "Production"