Skip to content

Commit

Permalink
Replace use of deprecated attribute address_prefix (#39)
Browse files Browse the repository at this point in the history
Co-authored-by: Alastair Hails <[email protected]>
  • Loading branch information
alhails and alhails authored May 25, 2020
1 parent 4600002 commit 7f2c818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 7f2c818

Please sign in to comment.