condition for azfw when nva is set (#688)

This commit is contained in:
Kristian Nese 2021-07-15 15:21:06 +02:00 коммит произвёл GitHub
Родитель 6ce9749966
Коммит deee462d0d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 8 добавлений и 1 удалений

Просмотреть файл

@ -2440,7 +2440,7 @@
"value": "[variables('platformResourceIds').vNetHubResourceId]"
},
"azureFirewallResourceId": {
"value": "[variables('platformResourceIds').azFirewallResourceId]"
"value": "[if(equals(parameters('enableAzFwDnsProxy'), 'Yes'), variables('platformResourceIds').azFirewallResourceId, '')]"
}
}
}

Просмотреть файл

@ -42,6 +42,7 @@
{
// Create top level management group under tenant root
"type": "Microsoft.Management/managementGroups",
"scope": "/",
"apiVersion": "2020-05-01",
"name": "[parameters('topLevelManagementGroupPrefix')]",
"properties": {}
@ -50,6 +51,7 @@
// Create management group for platform management groups
"type": "Microsoft.Management/managementGroups",
"apiVersion": "2020-05-01",
"scope": "/",
"name": "[variables('enterpriseScaleManagementGroups').platform]",
"dependsOn": [
"[tenantResourceId('Microsoft.Management/managementGroups/', parameters('topLevelManagementGroupPrefix'))]"
@ -67,6 +69,7 @@
// Create management group for landing zones
"type": "Microsoft.Management/managementGroups",
"apiVersion": "2020-05-01",
"scope": "/",
"name": "[variables('enterpriseScaleManagementGroups').landingZone]",
"dependsOn": [
"[tenantResourceId('Microsoft.Management/managementGroups/', parameters('topLevelManagementGroupPrefix'))]"
@ -84,6 +87,7 @@
// Create management group for sandbox subscriptions
"type": "Microsoft.Management/managementGroups",
"apiVersion": "2020-05-01",
"scope": "/",
"name": "[variables('enterpriseScaleManagementGroups').sandboxes]",
"dependsOn": [
"[tenantResourceId('Microsoft.Management/managementGroups/', parameters('topLevelManagementGroupPrefix'))]"
@ -101,6 +105,7 @@
// Create management group for decommissioned subscriptions
"type": "Microsoft.Management/managementGroups",
"apiVersion": "2020-05-01",
"scope": "/",
"name": "[variables('enterpriseScaleManagementGroups').decommissioned]",
"dependsOn": [
"[tenantResourceId('Microsoft.Management/managementGroups/', parameters('topLevelManagementGroupPrefix'))]"
@ -119,6 +124,7 @@
"condition": "[not(empty(parameters('platformMgs')))]",
"type": "Microsoft.Management/managementGroups",
"apiVersion": "2020-05-01",
"scope": "/",
"name": "[concat(parameters('topLevelManagementGroupPrefix'), '-', parameters('platformMgs')[copyIndex()])]",
"dependsOn": [
"[tenantResourceId('Microsoft.Management/managementGroups', variables('enterpriseScaleManagementGroups').platform)]"
@ -141,6 +147,7 @@
"condition": "[not(empty(parameters('landingZoneMgs')))]",
"type": "Microsoft.Management/managementGroups",
"apiVersion": "2020-05-01",
"scope": "/",
"name": "[concat(parameters('topLevelManagementGroupPrefix'), '-', parameters('landingZoneMgs')[copyIndex()])]",
"dependsOn": [
"[tenantResourceId('Microsoft.Management/managementGroups/', variables('enterpriseScaleManagementGroups').landingZone)]"