Skip to content

Instantly share code, notes, and snippets.

@sogaoh
Created May 4, 2020 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sogaoh/e7e32724cd62acdece46b72cc80b867a to your computer and use it in GitHub Desktop.
Save sogaoh/e7e32724cd62acdece46b72cc80b867a to your computer and use it in GitHub Desktop.
[incorrect warning] to azurerm_subnet . address_prefixes
resource "azurerm_subnet" "example-subnet" {
name = "example-subnet"
virtual_network_name = azurerm_virtual_network.example_vnet.name
resource_group_name = azurerm_resource_group.example_rg.name
address_prefixes = ["172.31.20.0/24"]
#address_prefix = "172.31.20.0/24"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment