diff --git a/website/docs/r/virtual_network.html.markdown b/website/docs/r/virtual_network.html.markdown
index 7306d3c64be9..0f81276d3abb 100644
--- a/website/docs/r/virtual_network.html.markdown
+++ b/website/docs/r/virtual_network.html.markdown
@@ -39,14 +39,14 @@ resource "azurerm_virtual_network" "example" {
dns_servers = ["10.0.0.4", "10.0.0.5"]
subnet {
- name = "subnet1"
- address_prefix = "10.0.1.0/24"
+ name = "subnet1"
+ address_prefixes = ["10.0.1.0/24"]
}
subnet {
- name = "subnet2"
- address_prefix = "10.0.2.0/24"
- security_group = azurerm_network_security_group.example.id
+ name = "subnet2"
+ address_prefixes = ["10.0.2.0/24"]
+ security_group = azurerm_network_security_group.example.id
}
tags = {