Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to deploy an additional VWAN hub to an existing Virtual WAN #456

Merged
merged 27 commits into from
Feb 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
9d51774
create mulitple vWAN hubs
aarunraaj Feb 22, 2023
f753329
Merge branch 'Azure:main' into main
aarunraaj Feb 22, 2023
64f27d6
removed modification comments from the code
aarunraaj Feb 22, 2023
ac6854c
Merge branch 'main' of https://github.com/aarunraaj/ALZ-Bicep
aarunraaj Feb 22, 2023
1b98acf
removed commented lines
aarunraaj Feb 22, 2023
fc36e8e
updated baseline sample file to include the new changes
aarunraaj Feb 22, 2023
b36c61f
updated main module, baseline and parameters
aarunraaj Feb 22, 2023
d57d4ba
updated parameters.min file
aarunraaj Feb 22, 2023
74afa8f
removed comments from parameters file
aarunraaj Feb 22, 2023
4d7d688
camelCasing updates
aarunraaj Feb 22, 2023
872b24e
Update vwanConnectivity.parameters.min.json
aarunraaj Feb 22, 2023
e13038d
parameters file updates
aarunraaj Feb 22, 2023
a444d6a
Merge branch 'main' into main
jtracey93 Feb 23, 2023
5df47c7
UpdatevWAN Hub parameters decorator to include more details
aarunraaj Feb 23, 2023
98fa97f
Merge branch 'main' of https://github.com/aarunraaj/ALZ-Bicep
aarunraaj Feb 23, 2023
04aa12c
updated mc-vwanConnectivity parameters min and all.json
aarunraaj Feb 23, 2023
68ca36a
Update vwanConnectivity.bicep
aarunraaj Feb 23, 2023
a103557
Merge branch 'Azure:main' into main
aarunraaj Feb 23, 2023
be78e2a
Merge branch 'Azure:main' into main
aarunraaj Feb 28, 2023
21d1d1f
Update vwanConnectivity.bicep
aarunraaj Feb 28, 2023
b824e78
Apply suggestions from code review
jtracey93 Feb 28, 2023
a50f0ce
Apply suggestions from code review
jtracey93 Feb 28, 2023
47176c8
update the markdown file
aarunraaj Feb 28, 2023
ba0b95a
Update vwanConnectivity.bicep
jtracey93 Feb 28, 2023
1f5851a
Update vwanConnectivity.bicep.md
jtracey93 Feb 28, 2023
ac9e634
Update vwanConnectivity.bicep.md
jtracey93 Feb 28, 2023
d84a872
Update vwanConnectivity.bicep.md
jtracey93 Feb 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ Parameter name | Required | Description
-------------- | -------- | -----------
parLocation | No | Region in which the resource group was created.
parCompanyPrefix | No | Prefix value which will be prepended to all resource names.
parVirtualHubAddressPrefix | No | The IP address range in CIDR notation for the vWAN virtual Hub to use.
parAzFirewallTier | No | Azure Firewall Tier associated with the Firewall to deploy.
parVirtualHubEnabled | No | Switch to enable/disable Virtual Hub deployment.
parVpnGatewayEnabled | No | Switch to enable/disable VPN Gateway deployment.
parExpressRouteGatewayEnabled | No | Switch to enable/disable ExpressRoute Gateway deployment.
parAzFirewallEnabled | No | Switch to enable/disable Azure Firewall deployment.
parAzFirewallDnsProxyEnabled | No | Switch to enable/disable Azure Firewall DNS Proxy.
parVirtualWanName | No | Prefix Used for Virtual WAN.
parVirtualWanHubName | No | Prefix Used for Virtual WAN Hub.
parVirtualWanHubs | No | Array Used for multiple Virtual WAN Hubs deployment. Each object in the array represents an individual Virtual WAN Hub configuration. Add/remove additional objects in the array to meet the number of Virtual WAN Hubs required. - `parVpnGatewayEnabled` - Switch to enable/disable VPN Gateway deployment on the respective Virtual WAN Hub. - `parExpressRouteGatewayEnabled` - Switch to enable/disable ExpressRoute Gateway deployment on the respective Virtual WAN Hub. - `parAzFirewallEnabled` - Switch to enable/disable Azure Firewall deployment on the respective Virtual WAN Hub. - `parVirtualHubAddressPrefix` - The IP address range in CIDR notation for the vWAN virtual Hub to use. - `parHublocation` - The Virtual WAN Hub location. - `parHubRoutingPreference` - The Virtual WAN Hub routing preference. The allowed values are `ASN`, `VpnGateway`, `ExpressRoute`. - `parVirtualRouterAutoScaleConfiguration` - The Virtual WAN Hub capacity. The value should be between 2 to 50.
parVpnGatewayName | No | Prefix Used for VPN Gateway.
parExpressRouteGatewayName | No | Prefix Used for ExpressRoute Gateway.
parAzFirewallName | No | Azure Firewall Name.
Expand Down Expand Up @@ -49,14 +46,6 @@ Prefix value which will be prepended to all resource names.

- Default value: `alz`

### parVirtualHubAddressPrefix

![Parameter Setting](https://img.shields.io/badge/parameter-optional-green?style=flat-square)

The IP address range in CIDR notation for the vWAN virtual Hub to use.

- Default value: `10.100.0.0/23`

### parAzFirewallTier

![Parameter Setting](https://img.shields.io/badge/parameter-optional-green?style=flat-square)
Expand All @@ -75,77 +64,71 @@ Switch to enable/disable Virtual Hub deployment.

- Default value: `True`

### parVpnGatewayEnabled

![Parameter Setting](https://img.shields.io/badge/parameter-optional-green?style=flat-square)

Switch to enable/disable VPN Gateway deployment.

- Default value: `True`

### parExpressRouteGatewayEnabled
### parAzFirewallDnsProxyEnabled

![Parameter Setting](https://img.shields.io/badge/parameter-optional-green?style=flat-square)

Switch to enable/disable ExpressRoute Gateway deployment.
Switch to enable/disable Azure Firewall DNS Proxy.

- Default value: `True`

### parAzFirewallEnabled
### parVirtualWanName

![Parameter Setting](https://img.shields.io/badge/parameter-optional-green?style=flat-square)

Switch to enable/disable Azure Firewall deployment.
Prefix Used for Virtual WAN.

- Default value: `True`
- Default value: `[format('{0}-vwan-{1}', parameters('parCompanyPrefix'), parameters('parLocation'))]`

### parAzFirewallDnsProxyEnabled
### parVirtualWanHubName

![Parameter Setting](https://img.shields.io/badge/parameter-optional-green?style=flat-square)

Switch to enable/disable Azure Firewall DNS Proxy.
Prefix Used for Virtual WAN Hub.

- Default value: `True`
- Default value: `[format('{0}-vhub', parameters('parCompanyPrefix'))]`

### parVirtualWanName
### parVirtualWanHubs

![Parameter Setting](https://img.shields.io/badge/parameter-optional-green?style=flat-square)

Prefix Used for Virtual WAN.

- Default value: `[format('{0}-vwan-{1}', parameters('parCompanyPrefix'), parameters('parLocation'))]`
Array Used for multiple Virtual WAN Hubs deployment. Each object in the array represents an individual Virtual WAN Hub configuration. Add/remove additional objects in the array to meet the number of Virtual WAN Hubs required.

### parVirtualWanHubName
- `parVpnGatewayEnabled` - Switch to enable/disable VPN Gateway deployment on the respective Virtual WAN Hub.
- `parExpressRouteGatewayEnabled` - Switch to enable/disable ExpressRoute Gateway deployment on the respective Virtual WAN Hub.
- `parAzFirewallEnabled` - Switch to enable/disable Azure Firewall deployment on the respective Virtual WAN Hub.
- `parVirtualHubAddressPrefix` - The IP address range in CIDR notation for the vWAN virtual Hub to use.
- `parHublocation` - The Virtual WAN Hub location.
- `parHubRoutingPreference` - The Virtual WAN Hub routing preference. The allowed values are `ASN`, `VpnGateway`, `ExpressRoute`.
- `parVirtualRouterAutoScaleConfiguration` - The Virtual WAN Hub capacity. The value should be between 2 to 50.

![Parameter Setting](https://img.shields.io/badge/parameter-optional-green?style=flat-square)

Prefix Used for Virtual WAN Hub.

- Default value: `[format('{0}-vhub-{1}', parameters('parCompanyPrefix'), parameters('parLocation'))]`
- Default value: ` `

### parVpnGatewayName

![Parameter Setting](https://img.shields.io/badge/parameter-optional-green?style=flat-square)

Prefix Used for VPN Gateway.

- Default value: `[format('{0}-vpngw-{1}', parameters('parCompanyPrefix'), parameters('parLocation'))]`
- Default value: `[format('{0}-vpngw', parameters('parCompanyPrefix'))]`

### parExpressRouteGatewayName

![Parameter Setting](https://img.shields.io/badge/parameter-optional-green?style=flat-square)

Prefix Used for ExpressRoute Gateway.

- Default value: `[format('{0}-ergw-{1}', parameters('parCompanyPrefix'), parameters('parLocation'))]`
- Default value: `[format('{0}-ergw', parameters('parCompanyPrefix'))]`

### parAzFirewallName

![Parameter Setting](https://img.shields.io/badge/parameter-optional-green?style=flat-square)

Azure Firewall Name.

- Default value: `[format('{0}-fw-{1}', parameters('parCompanyPrefix'), parameters('parLocation'))]`
- Default value: `[format('{0}-fw', parameters('parCompanyPrefix'))]`

### parAzFirewallAvailabilityZones

Expand Down Expand Up @@ -245,8 +228,8 @@ Name | Type | Description
---- | ---- | -----------
outVirtualWanName | string |
outVirtualWanId | string |
outVirtualHubName | string |
outVirtualHubId | string |
outVirtualHubName | array |
outVirtualHubId | array |
outDdosPlanResourceId | string |
outPrivateDnsZones | array |

Expand All @@ -268,41 +251,51 @@ outPrivateDnsZones | array |
"parCompanyPrefix": {
"value": "alz"
},
"parVirtualHubAddressPrefix": {
"value": "10.100.0.0/23"
},
"parAzFirewallTier": {
"value": "Standard"
},
"parVirtualHubEnabled": {
"value": true
},
"parVpnGatewayEnabled": {
"value": true
},
"parExpressRouteGatewayEnabled": {
"value": true
},
"parAzFirewallEnabled": {
"value": true
},
"parAzFirewallDnsProxyEnabled": {
"value": true
},
"parVirtualWanName": {
"value": "[format('{0}-vwan-{1}', parameters('parCompanyPrefix'), parameters('parLocation'))]"
},
"parVirtualWanHubName": {
"value": "[format('{0}-vhub-{1}', parameters('parCompanyPrefix'), parameters('parLocation'))]"
"value": "[format('{0}-vhub', parameters('parCompanyPrefix'))]"
},
"parVirtualWanHubs": {
"value": [
{
"parVpnGatewayEnabled": true,
"parExpressRouteGatewayEnabled": true,
"parAzFirewallEnabled": true,
"parVirtualHubAddressPrefix": "10.100.0.0/23",
"parHublocation": "centralus",
"parHubRoutingPreference": "ExpressRoute",
"parVirtualRouterAutoScaleConfiguration": 2
},
{
"parVpnGatewayEnabled": true,
"parExpressRouteGatewayEnabled": true,
"parAzFirewallEnabled": true,
"parVirtualHubAddressPrefix": "10.110.0.0/23",
"parHublocation": "eastus",
"parHubRoutingPreference": "ExpressRoute",
"parVirtualRouterAutoScaleConfiguration": 2
}
]
},
"parVpnGatewayName": {
"value": "[format('{0}-vpngw-{1}', parameters('parCompanyPrefix'), parameters('parLocation'))]"
"value": "[format('{0}-vpngw', parameters('parCompanyPrefix'))]"
},
"parExpressRouteGatewayName": {
"value": "[format('{0}-ergw-{1}', parameters('parCompanyPrefix'), parameters('parLocation'))]"
"value": "[format('{0}-ergw', parameters('parCompanyPrefix'))]"
},
"parAzFirewallName": {
"value": "[format('{0}-fw-{1}', parameters('parCompanyPrefix'), parameters('parLocation'))]"
"value": "[format('{0}-fw', parameters('parCompanyPrefix'))]"
},
"parAzFirewallAvailabilityZones": {
"value": []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,48 +8,49 @@
"parCompanyPrefix": {
"value": "alz"
},
"parVirtualHubAddressPrefix": {
"value": "10.100.0.0/23"
},
"parAzFirewallTier": {
"value": "Standard"
},
"parVirtualHubEnabled": {
"value": true
},
"parVpnGatewayEnabled": {
"value": true
},
"parExpressRouteGatewayEnabled": {
"value": true
},
"parAzFirewallEnabled": {
"value": true
},
"parAzFirewallDnsProxyEnabled": {
"value": true
},
"parVirtualWanName": {
"value": "alz-vwan-chinaeast2"
},
"parVirtualWanHubName": {
"value": "alz-vhub-chinaeast2"
"value": "alz-vhub"
},
"parVpnGatewayName": {
"value": "alz-vpngw-chinaeast2"
"value": "alz-vpngw"
},
"parExpressRouteGatewayName": {
"value": "alz-ergw-chinaeast2"
"value": "alz-ergw"
},
"parAzFirewallName": {
"value": "alz-fw-chinaeast2"
"value": "alz-fw"
},
"parAzFirewallAvailabilityZones": {
"value": []
},
"parAzFirewallPoliciesName": {
"value": "alz-azfwpolicy-chinaeast2"
},
"parVirtualWanHubs": {
"value": [
{
"parVpnGatewayEnabled": true,
"parExpressRouteGatewayEnabled": true,
"parAzFirewallEnabled": true,
"parVirtualHubAddressPrefix": "10.100.0.0/23",
"parHublocation": "chinaeast2",
"parHubRoutingPreference": "ExpressRoute",
"parVirtualRouterAutoScaleConfiguration": 2
}
]
},
"parVpnGatewayScaleUnit": {
"value": 1
},
Expand Down Expand Up @@ -110,4 +111,4 @@
"value": false
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,24 @@
"parCompanyPrefix": {
"value": "alz"
},
"parVirtualHubAddressPrefix": {
"value": "10.100.0.0/23"
},
"parAzFirewallTier": {
"value": "Standard"
},
"parVirtualHubEnabled": {
"value": true
},
"parVpnGatewayEnabled": {
"value": true
},
"parExpressRouteGatewayEnabled": {
"value": true
},
"parAzFirewallEnabled": {
"value": true
"parVirtualWanHubs": {
"value": [
{
"parVpnGatewayEnabled": true,
"parExpressRouteGatewayEnabled": true,
"parAzFirewallEnabled": true,
"parVirtualHubAddressPrefix": "10.100.0.0/23",
"parHublocation": "chinaeast2",
"parHubRoutingPreference": "ExpressRoute",
"parVirtualRouterAutoScaleConfiguration": 2
}
]
},
"parAzFirewallDnsProxyEnabled": {
"value": true
Expand Down Expand Up @@ -84,4 +85,4 @@
"value": false
}
}
}
}
Loading