|
6 | 6 | "_generator": { |
7 | 7 | "name": "bicep", |
8 | 8 | "version": "0.37.4.10188", |
9 | | - "templateHash": "10809335239895766797" |
| 9 | + "templateHash": "9170477337595245201" |
10 | 10 | }, |
11 | 11 | "name": "Document Generation Solution Accelerator", |
12 | 12 | "description": "CSA CTO Gold Standard Solution Accelerator for Document Generation.\n" |
|
38 | 38 | }, |
39 | 39 | "secondaryLocation": { |
40 | 40 | "type": "string", |
41 | | - "defaultValue": "eastus2", |
| 41 | + "defaultValue": "uksouth", |
42 | 42 | "minLength": 3, |
43 | 43 | "metadata": { |
44 | | - "description": "Optional. Secondary location for databases creation(example:eastus2):" |
| 44 | + "description": "Optional. Secondary location for databases creation(example:uksouth):" |
45 | 45 | } |
46 | 46 | }, |
47 | 47 | "aiDeploymentsLocation": { |
|
29874 | 29874 | } |
29875 | 29875 | }, |
29876 | 29876 | "dependsOn": [ |
| 29877 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]", |
29877 | 29878 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]", |
29878 | 29879 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]", |
29879 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]", |
29880 | 29880 | "logAnalyticsWorkspace", |
29881 | 29881 | "network", |
29882 | 29882 | "userAssignedIdentity" |
|
38422 | 38422 | "zoneRedundant": "[if(parameters('enableRedundancy'), createObject('value', true()), createObject('value', false()))]", |
38423 | 38423 | "capabilitiesToAdd": "[if(parameters('enableRedundancy'), createObject('value', null()), createObject('value', createArray('EnableServerless')))]", |
38424 | 38424 | "automaticFailover": "[if(parameters('enableRedundancy'), createObject('value', true()), createObject('value', false()))]", |
38425 | | - "failoverLocations": "[if(parameters('enableRedundancy'), createObject('value', createArray(createObject('failoverPriority', 0, 'isZoneRedundant', true(), 'locationName', variables('solutionLocation')), createObject('failoverPriority', 1, 'isZoneRedundant', true(), 'locationName', variables('cosmosDbHaLocation')))), createObject('value', createArray(createObject('locationName', variables('solutionLocation'), 'failoverPriority', 0))))]" |
| 38425 | + "failoverLocations": "[if(parameters('enableRedundancy'), createObject('value', createArray(createObject('failoverPriority', 0, 'isZoneRedundant', true(), 'locationName', parameters('secondaryLocation')), createObject('failoverPriority', 1, 'isZoneRedundant', true(), 'locationName', variables('cosmosDbHaLocation')))), createObject('value', createArray(createObject('locationName', parameters('secondaryLocation'), 'failoverPriority', 0, 'isZoneRedundant', parameters('enableRedundancy')))))]" |
38426 | 38426 | }, |
38427 | 38427 | "template": { |
38428 | 38428 | "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", |
|
0 commit comments