|
6 | 6 | "_generator": { |
7 | 7 | "name": "bicep", |
8 | 8 | "version": "0.37.4.10188", |
9 | | - "templateHash": "14511270786246958386" |
| 9 | + "templateHash": "9632700957939419530" |
10 | 10 | }, |
11 | 11 | "name": "Document Generation Solution Accelerator", |
12 | 12 | "description": "CSA CTO Gold Standard Solution Accelerator for Document Generation.\n" |
|
190 | 190 | }, |
191 | 191 | "enableScalability": { |
192 | 192 | "type": "bool", |
193 | | - "defaultValue": true, |
| 193 | + "defaultValue": false, |
194 | 194 | "metadata": { |
195 | 195 | "description": "Optional. Enable scalability for applicable resources, aligned with the Well Architected Framework recommendations. Defaults to false." |
196 | 196 | } |
|
204 | 204 | }, |
205 | 205 | "enablePrivateNetworking": { |
206 | 206 | "type": "bool", |
207 | | - "defaultValue": true, |
| 207 | + "defaultValue": false, |
208 | 208 | "metadata": { |
209 | 209 | "description": "Optional. Enable private networking for applicable resources, aligned with the Well Architected Framework recommendations. Defaults to false." |
210 | 210 | } |
|
326 | 326 | "aiFoundryAiProjectDescription": "AI Foundry Project", |
327 | 327 | "aiSearchName": "[format('srch-{0}', variables('solutionSuffix'))]", |
328 | 328 | "aiSearchConnectionName": "[format('foundry-search-connection-{0}', variables('solutionSuffix'))]", |
| 329 | + "nenablePrivateNetworking": false, |
329 | 330 | "storageAccountName": "[format('st{0}', variables('solutionSuffix'))]", |
330 | 331 | "cosmosDBResourceName": "[format('cosmos-{0}', variables('solutionSuffix'))]", |
331 | 332 | "cosmosDBDatabaseName": "db_conversation_history", |
|
363 | 364 | "apiVersion": "2021-04-01", |
364 | 365 | "name": "default", |
365 | 366 | "properties": { |
366 | | - "tags": "[shallowMerge(createArray(parameters('tags'), createObject('TemplateName', 'Docgen')))]" |
| 367 | + "tags": "[shallowMerge(createArray(parameters('tags'), createObject('TemplateName', 'Docgen', 'SecurityControl', 'Ignore')))]" |
367 | 368 | } |
368 | 369 | }, |
369 | 370 | "existingAiFoundryAiServices": { |
|
419 | 420 | ] |
420 | 421 | }, |
421 | 422 | "webSiteLogs": { |
| 423 | + "condition": "[parameters('enableMonitoring')]", |
422 | 424 | "type": "Microsoft.Web/sites/config", |
423 | 425 | "apiVersion": "2024-04-01", |
424 | 426 | "name": "[format('{0}/logs', variables('webSiteResourceName'))]", |
|
4806 | 4808 | "_generator": { |
4807 | 4809 | "name": "bicep", |
4808 | 4810 | "version": "0.37.4.10188", |
4809 | | - "templateHash": "3782899527809411245" |
| 4811 | + "templateHash": "11140120105546145557" |
4810 | 4812 | } |
4811 | 4813 | }, |
4812 | 4814 | "parameters": { |
|
4866 | 4868 | { |
4867 | 4869 | "type": "Microsoft.Resources/deployments", |
4868 | 4870 | "apiVersion": "2022-09-01", |
4869 | | - "name": "[take(format('module.network-main.{0}', parameters('resourcesName')), 64)]", |
| 4871 | + "name": "[take(format('network-{0}-create', parameters('resourcesName')), 64)]", |
4870 | 4872 | "properties": { |
4871 | 4873 | "expressionEvaluationOptions": { |
4872 | 4874 | "scope": "inner" |
@@ -20460,42 +20462,42 @@ |
20460 | 20462 | "metadata": { |
20461 | 20463 | "description": "Name of the Virtual Network resource." |
20462 | 20464 | }, |
20463 | | - "value": "[reference(resourceId('Microsoft.Resources/deployments', take(format('module.network-main.{0}', parameters('resourcesName')), 64)), '2022-09-01').outputs.vnetName.value]" |
| 20465 | + "value": "[reference(resourceId('Microsoft.Resources/deployments', take(format('network-{0}-create', parameters('resourcesName')), 64)), '2022-09-01').outputs.vnetName.value]" |
20464 | 20466 | }, |
20465 | 20467 | "vnetResourceId": { |
20466 | 20468 | "type": "string", |
20467 | 20469 | "metadata": { |
20468 | 20470 | "description": "Resource ID of the Virtual Network." |
20469 | 20471 | }, |
20470 | | - "value": "[reference(resourceId('Microsoft.Resources/deployments', take(format('module.network-main.{0}', parameters('resourcesName')), 64)), '2022-09-01').outputs.vnetResourceId.value]" |
| 20472 | + "value": "[reference(resourceId('Microsoft.Resources/deployments', take(format('network-{0}-create', parameters('resourcesName')), 64)), '2022-09-01').outputs.vnetResourceId.value]" |
20471 | 20473 | }, |
20472 | 20474 | "subnetWebResourceId": { |
20473 | 20475 | "type": "string", |
20474 | 20476 | "metadata": { |
20475 | 20477 | "description": "Resource ID of the \"web\" subnet." |
20476 | 20478 | }, |
20477 | | - "value": "[coalesce(tryGet(first(filter(reference(resourceId('Microsoft.Resources/deployments', take(format('module.network-main.{0}', parameters('resourcesName')), 64)), '2022-09-01').outputs.subnets.value, lambda('s', equals(lambdaVariables('s').name, 'web')))), 'resourceId'), '')]" |
| 20479 | + "value": "[coalesce(tryGet(first(filter(reference(resourceId('Microsoft.Resources/deployments', take(format('network-{0}-create', parameters('resourcesName')), 64)), '2022-09-01').outputs.subnets.value, lambda('s', equals(lambdaVariables('s').name, 'web')))), 'resourceId'), '')]" |
20478 | 20480 | }, |
20479 | 20481 | "subnetPrivateEndpointsResourceId": { |
20480 | 20482 | "type": "string", |
20481 | 20483 | "metadata": { |
20482 | 20484 | "description": "Resource ID of the \"peps\" subnet for Private Endpoints." |
20483 | 20485 | }, |
20484 | | - "value": "[coalesce(tryGet(first(filter(reference(resourceId('Microsoft.Resources/deployments', take(format('module.network-main.{0}', parameters('resourcesName')), 64)), '2022-09-01').outputs.subnets.value, lambda('s', equals(lambdaVariables('s').name, 'peps')))), 'resourceId'), '')]" |
| 20486 | + "value": "[coalesce(tryGet(first(filter(reference(resourceId('Microsoft.Resources/deployments', take(format('network-{0}-create', parameters('resourcesName')), 64)), '2022-09-01').outputs.subnets.value, lambda('s', equals(lambdaVariables('s').name, 'peps')))), 'resourceId'), '')]" |
20485 | 20487 | }, |
20486 | 20488 | "bastionResourceId": { |
20487 | 20489 | "type": "string", |
20488 | 20490 | "metadata": { |
20489 | 20491 | "description": "Resource ID of the Bastion Host." |
20490 | 20492 | }, |
20491 | | - "value": "[reference(resourceId('Microsoft.Resources/deployments', take(format('module.network-main.{0}', parameters('resourcesName')), 64)), '2022-09-01').outputs.bastionHostId.value]" |
| 20493 | + "value": "[reference(resourceId('Microsoft.Resources/deployments', take(format('network-{0}-create', parameters('resourcesName')), 64)), '2022-09-01').outputs.bastionHostId.value]" |
20492 | 20494 | }, |
20493 | 20495 | "jumpboxResourceId": { |
20494 | 20496 | "type": "string", |
20495 | 20497 | "metadata": { |
20496 | 20498 | "description": "Resource ID of the Jumpbox VM." |
20497 | 20499 | }, |
20498 | | - "value": "[reference(resourceId('Microsoft.Resources/deployments', take(format('module.network-main.{0}', parameters('resourcesName')), 64)), '2022-09-01').outputs.jumpboxResourceId.value]" |
| 20500 | + "value": "[reference(resourceId('Microsoft.Resources/deployments', take(format('network-{0}-create', parameters('resourcesName')), 64)), '2022-09-01').outputs.jumpboxResourceId.value]" |
20499 | 20501 | } |
20500 | 20502 | } |
20501 | 20503 | } |
|
29861 | 29863 | } |
29862 | 29864 | }, |
29863 | 29865 | "dependsOn": [ |
| 29866 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]", |
29864 | 29867 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]", |
29865 | 29868 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]", |
29866 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]", |
29867 | 29869 | "logAnalyticsWorkspace", |
29868 | 29870 | "network", |
29869 | 29871 | "userAssignedIdentity" |
|
30121 | 30123 | "hostingMode": { |
30122 | 30124 | "value": "default" |
30123 | 30125 | }, |
30124 | | - "sku": { |
30125 | | - "value": "standard" |
30126 | | - }, |
| 30126 | + "sku": "[if(parameters('enableScalability'), createObject('value', 'standard'), createObject('value', 'basic'))]", |
30127 | 30127 | "managedIdentities": { |
30128 | 30128 | "value": { |
30129 | 30129 | "systemAssigned": true |
|
30168 | 30168 | "semanticSearch": { |
30169 | 30169 | "value": "free" |
30170 | 30170 | }, |
30171 | | - "publicNetworkAccess": "[if(parameters('enablePrivateNetworking'), createObject('value', 'Disabled'), createObject('value', 'Enabled'))]", |
30172 | | - "privateEndpoints": "[if(parameters('enablePrivateNetworking'), createObject('value', createArray(createObject('name', format('pep-{0}', variables('aiSearchName')), 'customNetworkInterfaceName', format('nic-{0}', variables('aiSearchName')), 'privateDnsZoneGroup', createObject('privateDnsZoneGroupConfigs', createArray(createObject('privateDnsZoneResourceId', reference(format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').searchService)).outputs.resourceId.value))), 'service', 'searchService', 'subnetResourceId', reference('network').outputs.subnetPrivateEndpointsResourceId.value))), createObject('value', createArray()))]" |
| 30171 | + "publicNetworkAccess": "[if(variables('nenablePrivateNetworking'), createObject('value', 'Disabled'), createObject('value', 'Enabled'))]", |
| 30172 | + "privateEndpoints": "[if(variables('nenablePrivateNetworking'), createObject('value', createArray(createObject('name', format('pep-{0}', variables('aiSearchName')), 'customNetworkInterfaceName', format('nic-{0}', variables('aiSearchName')), 'privateDnsZoneGroup', createObject('privateDnsZoneGroupConfigs', createArray(createObject('privateDnsZoneResourceId', reference(format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').searchService)).outputs.resourceId.value))), 'subnetResourceId', reference('network').outputs.subnetPrivateEndpointsResourceId.value, 'service', 'searchService'))), createObject('value', createArray()))]" |
30173 | 30173 | }, |
30174 | 30174 | "template": { |
30175 | 30175 | "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", |
|
38338 | 38338 | } |
38339 | 38339 | }, |
38340 | 38340 | "dependsOn": [ |
38341 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]", |
38342 | 38341 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageQueue)]", |
| 38342 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]", |
38343 | 38343 | "network", |
38344 | 38344 | "userAssignedIdentity" |
38345 | 38345 | ] |
|
0 commit comments