Skip to content

Commit

Permalink
feat: Reorder VM-Series interfaces in examples (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
acelebanski authored Nov 27, 2024
1 parent 7dc3fe1 commit 47f6a24
Show file tree
Hide file tree
Showing 24 changed files with 445 additions and 445 deletions.
2 changes: 1 addition & 1 deletion examples/common_vmseries/.header.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ and may present scale limitations with all traffic flowing through a single set
that occurs when traffic crosses virtual routers. This option is suitable for proof-of-concepts and smaller scale deployments
because the number of firewalls low. However, the technical integration complexity is high.

![Detailed Topology Diagram](https://github.com/PaloAltoNetworks/terraform-azurerm-swfw-modules/assets/135693994/9e330a37-3679-419a-8aa3-aa963cb4faf2)
![Detailed Topology Diagram](https://github.com/user-attachments/assets/798c4559-f218-4351-b0ee-c0dfb864ad3b)

This reference architecture consists of:

Expand Down
2 changes: 1 addition & 1 deletion examples/common_vmseries/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ and may present scale limitations with all traffic flowing through a single set
that occurs when traffic crosses virtual routers. This option is suitable for proof-of-concepts and smaller scale deployments
because the number of firewalls low. However, the technical integration complexity is high.

![Detailed Topology Diagram](https://github.com/PaloAltoNetworks/terraform-azurerm-swfw-modules/assets/135693994/9e330a37-3679-419a-8aa3-aa963cb4faf2)
![Detailed Topology Diagram](https://github.com/user-attachments/assets/798c4559-f218-4351-b0ee-c0dfb864ad3b)

This reference architecture consists of:

Expand Down
82 changes: 41 additions & 41 deletions examples/common_vmseries/example.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ vnets = {
"management" = {
name = "mgmt-rt"
routes = {
"private_blackhole" = {
name = "private-blackhole-udr"
"public_blackhole" = {
name = "public-blackhole-udr"
address_prefix = "10.0.0.16/28"
next_hop_type = "None"
}
"public_blackhole" = {
name = "public-blackhole-udr"
"private_blackhole" = {
name = "private-blackhole-udr"
address_prefix = "10.0.0.32/28"
next_hop_type = "None"
}
Expand All @@ -59,14 +59,29 @@ vnets = {
}
}
}
"public" = {
name = "public-rt"
routes = {
"mgmt_blackhole" = {
name = "mgmt-blackhole-udr"
address_prefix = "10.0.0.0/28"
next_hop_type = "None"
}
"private_blackhole" = {
name = "private-blackhole-udr"
address_prefix = "10.0.0.32/28"
next_hop_type = "None"
}
}
}
"private" = {
name = "private-rt"
routes = {
"default" = {
name = "default-udr"
address_prefix = "0.0.0.0/0"
next_hop_type = "VirtualAppliance"
next_hop_ip_address = "10.0.0.30"
next_hop_ip_address = "10.0.0.46"
}
"mgmt_blackhole" = {
name = "mgmt-blackhole-udr"
Expand All @@ -75,7 +90,7 @@ vnets = {
}
"public_blackhole" = {
name = "public-blackhole-udr"
address_prefix = "10.0.0.32/28"
address_prefix = "10.0.0.16/28"
next_hop_type = "None"
}
"appgw_blackhole" = {
Expand All @@ -85,21 +100,6 @@ vnets = {
}
}
}
"public" = {
name = "public-rt"
routes = {
"mgmt_blackhole" = {
name = "mgmt-blackhole-udr"
address_prefix = "10.0.0.0/28"
next_hop_type = "None"
}
"private_blackhole" = {
name = "private-blackhole-udr"
address_prefix = "10.0.0.16/28"
next_hop_type = "None"
}
}
}
}
subnets = {
"management" = {
Expand All @@ -109,17 +109,17 @@ vnets = {
route_table_key = "management"
enable_storage_service_endpoint = true
}
"private" = {
name = "private-snet"
address_prefixes = ["10.0.0.16/28"]
route_table_key = "private"
}
"public" = {
name = "public-snet"
address_prefixes = ["10.0.0.32/28"]
address_prefixes = ["10.0.0.16/28"]
network_security_group_key = "public"
route_table_key = "public"
}
"private" = {
name = "private-snet"
address_prefixes = ["10.0.0.32/28"]
route_table_key = "private"
}
"appgw" = {
name = "appgw-snet"
address_prefixes = ["10.0.0.48/28"]
Expand Down Expand Up @@ -170,7 +170,7 @@ load_balancers = {
"ha-ports" = {
name = "private-vmseries"
subnet_key = "private"
private_ip_address = "10.0.0.30"
private_ip_address = "10.0.0.46"
in_rules = {
HA_PORTS = {
name = "HA-ports"
Expand Down Expand Up @@ -304,17 +304,17 @@ vmseries = {
subnet_key = "management"
create_public_ip = false
},
{
name = "vm01-private"
subnet_key = "private"
load_balancer_key = "private"
},
{
name = "vm01-public"
subnet_key = "public"
create_public_ip = true
load_balancer_key = "public"
application_gateway_key = "public"
},
{
name = "vm01-private"
subnet_key = "private"
load_balancer_key = "private"
}
]
}
Expand All @@ -330,18 +330,18 @@ vmseries = {
subnet_key = "management"
create_public_ip = false
},
{
name = "vm02-private"
subnet_key = "private"
load_balancer_key = "private"
},
{
name = "vm02-public"
subnet_key = "public"
create_public_ip = true
load_balancer_key = "public"
application_gateway_key = "public"
}
},
{
name = "vm02-private"
subnet_key = "private"
load_balancer_key = "private"
},
]
}
}
Expand Down Expand Up @@ -392,7 +392,7 @@ test_infrastructure = {
name = "toNVA-udr"
address_prefix = "0.0.0.0/0"
next_hop_type = "VirtualAppliance"
next_hop_ip_address = "10.0.0.30"
next_hop_ip_address = "10.0.0.46"
}
}
}
Expand Down Expand Up @@ -469,7 +469,7 @@ test_infrastructure = {
name = "toNVA-udr"
address_prefix = "0.0.0.0/0"
next_hop_type = "VirtualAppliance"
next_hop_ip_address = "10.0.0.30"
next_hop_ip_address = "10.0.0.46"
}
}
}
Expand Down
Loading

0 comments on commit 47f6a24

Please sign in to comment.