From 7f2c81823c74262343ed30a50c89f81868529b50 Mon Sep 17 00:00:00 2001 From: Alastair Hails Date: Mon, 25 May 2020 03:57:27 +0100 Subject: [PATCH] Replace use of deprecated attribute address_prefix (#39) Co-authored-by: Alastair Hails --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index cf7f483..780f211 100644 --- a/main.tf +++ b/main.tf @@ -16,6 +16,6 @@ resource "azurerm_subnet" "subnet" { count = length(var.subnet_names) name = var.subnet_names[count.index] resource_group_name = data.azurerm_resource_group.network.name - address_prefix = var.subnet_prefixes[count.index] + address_prefixes = [var.subnet_prefixes[count.index]] virtual_network_name = azurerm_virtual_network.vnet.name }