38 lines
661 B
HCL
38 lines
661 B
HCL
virtual_network = "my_network"
|
|
|
|
address_space = ["10.0.0.0/16"]
|
|
|
|
dns_servers = ["10.0.0.4", "10.0.0.5"]
|
|
|
|
bgp_community = 12345
|
|
|
|
edge_zone = "eastus"
|
|
|
|
flow_timeout_in_minutes = 10
|
|
|
|
ddos_protection_plan = {
|
|
plan1 = {
|
|
id = "ddos_plan_1"
|
|
enable = true
|
|
}
|
|
plan2 = {
|
|
id = "ddos_plan_2"
|
|
enable = false
|
|
}
|
|
}
|
|
|
|
subnets = {
|
|
subnet1 = {
|
|
name = "subnet1"
|
|
address_space = "10.0.1.0/24"
|
|
resource_group_name = "rg1"
|
|
security_group = "sg1"
|
|
}
|
|
subnet2 = {
|
|
name = "subnet2"
|
|
address_space = "10.0.2.0/24"
|
|
resource_group_name = "rg2"
|
|
security_group = "sg2"
|
|
}
|
|
}
|