File tree 1 file changed +26
-2
lines changed
1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,40 @@ resource "azurerm_virtual_network" "example" {
22
22
# dns_servers = ["10.0.0.4", "10.0.0.5"]
23
23
24
24
subnet {
25
- name = " subnet1 "
25
+ name = " fw-subnet "
26
26
address_prefix = " 10.0.1.0/24"
27
27
}
28
28
29
29
subnet {
30
- name = " subnet2 "
30
+ name = " gw-subnet "
31
31
address_prefix = " 10.0.2.0/24"
32
32
# security_group = azurerm_network_security_group.example.id
33
33
}
34
34
35
+ subnet {
36
+ name = " vm-subnet"
37
+ address_prefix = " 10.0.3.0/24"
38
+ # security_group = azurerm_network_security_group.example.id
39
+ }
40
+
41
+ subnet {
42
+ name = " pe-subnet"
43
+ address_prefix = " 10.0.4.0/24"
44
+ # security_group = azurerm_network_security_group.example.id
45
+ }
46
+
47
+ subnet {
48
+ name = " app-subnet"
49
+ address_prefix = " 10.0.5.0/24"
50
+ # security_group = azurerm_network_security_group.example.id
51
+ }
52
+
53
+ subnet {
54
+ name = " db-subnet"
55
+ address_prefix = " 10.0.6.0/24"
56
+ # security_group = azurerm_network_security_group.example.id
57
+ }
58
+
35
59
tags = {
36
60
environment = " Production"
37
61
}
You can’t perform that action at this time.
0 commit comments