Skip to content

Commit 29aa93a

Browse files
Regenerated the main.json file
1 parent 92c2d7f commit 29aa93a

File tree

1 file changed

+41
-40
lines changed

1 file changed

+41
-40
lines changed

infra/main.json

Lines changed: 41 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"metadata": {
66
"_generator": {
77
"name": "bicep",
8-
"version": "0.39.26.7824",
9-
"templateHash": "9953647735934078307"
8+
"version": "0.40.2.10011",
9+
"templateHash": "13633343500956336860"
1010
}
1111
},
1212
"parameters": {
@@ -338,6 +338,7 @@
338338
},
339339
"cosmosDbHaLocation": "[variables('cosmosDbZoneRedundantHaRegionPairs')[resourceGroup().location]]",
340340
"useExistingLogAnalytics": "[not(empty(parameters('existingLogAnalyticsWorkspaceId')))]",
341+
"existingTags": "[coalesce(resourceGroup().tags, createObject())]",
341342
"logAnalyticsWorkspaceResourceName": "[format('log-{0}', variables('solutionSuffix'))]",
342343
"applicationInsightsResourceName": "[format('appi-{0}', variables('solutionSuffix'))]",
343344
"bastionHostName": "[format('bas-{0}', variables('solutionSuffix'))]",
@@ -423,7 +424,7 @@
423424
"apiVersion": "2025-04-01",
424425
"name": "default",
425426
"properties": {
426-
"tags": "[shallowMerge(createArray(resourceGroup().tags, createObject('TemplateName', 'KM-Generic', 'Type', if(parameters('enablePrivateNetworking'), 'WAF', 'Non-WAF'), 'CreatedBy', parameters('createdBy'), 'DeploymentName', deployment().name, 'UseCase', parameters('usecase')), parameters('tags')))]"
427+
"tags": "[union(variables('existingTags'), parameters('tags'), createObject('TemplateName', 'KM-Generic', 'Type', if(parameters('enablePrivateNetworking'), 'WAF', 'Non-WAF'), 'CreatedBy', parameters('createdBy'), 'DeploymentName', deployment().name, 'UseCase', parameters('usecase')))]"
427428
}
428429
},
429430
"avmTelemetry": {
@@ -4427,8 +4428,8 @@
44274428
"metadata": {
44284429
"_generator": {
44294430
"name": "bicep",
4430-
"version": "0.39.26.7824",
4431-
"templateHash": "18255110135389629369"
4431+
"version": "0.40.2.10011",
4432+
"templateHash": "9857139084182978879"
44324433
}
44334434
},
44344435
"definitions": {
@@ -22589,8 +22590,8 @@
2258922590
"metadata": {
2259022591
"_generator": {
2259122592
"name": "bicep",
22592-
"version": "0.39.26.7824",
22593-
"templateHash": "2106179233178783118"
22593+
"version": "0.40.2.10011",
22594+
"templateHash": "9730759179052118696"
2259422595
},
2259522596
"name": "Cognitive Services",
2259622597
"description": "This module deploys a Cognitive Service."
@@ -23738,8 +23739,8 @@
2373823739
"metadata": {
2373923740
"_generator": {
2374023741
"name": "bicep",
23741-
"version": "0.39.26.7824",
23742-
"templateHash": "13367445240542626837"
23742+
"version": "0.40.2.10011",
23743+
"templateHash": "3022268207024386572"
2374323744
}
2374423745
},
2374523746
"definitions": {
@@ -24627,7 +24628,7 @@
2462724628
"condition": "[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]",
2462824629
"type": "Microsoft.Authorization/locks",
2462924630
"apiVersion": "2020-05-01",
24630-
"scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]",
24631+
"scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]",
2463124632
"name": "[coalesce(tryGet(parameters('lock'), 'name'), format('lock-{0}', parameters('name')))]",
2463224633
"properties": {
2463324634
"level": "[coalesce(tryGet(parameters('lock'), 'kind'), '')]",
@@ -24641,7 +24642,7 @@
2464124642
},
2464224643
"type": "Microsoft.Insights/diagnosticSettings",
2464324644
"apiVersion": "2021-05-01-preview",
24644-
"scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]",
24645+
"scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]",
2464524646
"name": "[coalesce(tryGet(coalesce(parameters('diagnosticSettings'), createArray())[copyIndex()], 'name'), format('{0}-diagnosticSettings', parameters('name')))]",
2464624647
"properties": {
2464724648
"copy": [
@@ -24679,7 +24680,7 @@
2467924680
},
2468024681
"type": "Microsoft.Authorization/roleAssignments",
2468124682
"apiVersion": "2022-04-01",
24682-
"scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]",
24683+
"scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]",
2468324684
"name": "[coalesce(tryGet(coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()], 'name'), guid(resourceId('Microsoft.CognitiveServices/accounts', parameters('name')), coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].principalId, coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].roleDefinitionId))]",
2468424685
"properties": {
2468524686
"roleDefinitionId": "[coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].roleDefinitionId]",
@@ -25388,8 +25389,8 @@
2538825389
"metadata": {
2538925390
"_generator": {
2539025391
"name": "bicep",
25391-
"version": "0.39.26.7824",
25392-
"templateHash": "13987065577218259048"
25392+
"version": "0.40.2.10011",
25393+
"templateHash": "10331519025916590333"
2539325394
}
2539425395
},
2539525396
"definitions": {
@@ -25618,8 +25619,8 @@
2561825619
"metadata": {
2561925620
"_generator": {
2562025621
"name": "bicep",
25621-
"version": "0.39.26.7824",
25622-
"templateHash": "13367445240542626837"
25622+
"version": "0.40.2.10011",
25623+
"templateHash": "3022268207024386572"
2562325624
}
2562425625
},
2562525626
"definitions": {
@@ -26507,7 +26508,7 @@
2650726508
"condition": "[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]",
2650826509
"type": "Microsoft.Authorization/locks",
2650926510
"apiVersion": "2020-05-01",
26510-
"scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]",
26511+
"scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]",
2651126512
"name": "[coalesce(tryGet(parameters('lock'), 'name'), format('lock-{0}', parameters('name')))]",
2651226513
"properties": {
2651326514
"level": "[coalesce(tryGet(parameters('lock'), 'kind'), '')]",
@@ -26521,7 +26522,7 @@
2652126522
},
2652226523
"type": "Microsoft.Insights/diagnosticSettings",
2652326524
"apiVersion": "2021-05-01-preview",
26524-
"scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]",
26525+
"scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]",
2652526526
"name": "[coalesce(tryGet(coalesce(parameters('diagnosticSettings'), createArray())[copyIndex()], 'name'), format('{0}-diagnosticSettings', parameters('name')))]",
2652626527
"properties": {
2652726528
"copy": [
@@ -26559,7 +26560,7 @@
2655926560
},
2656026561
"type": "Microsoft.Authorization/roleAssignments",
2656126562
"apiVersion": "2022-04-01",
26562-
"scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]",
26563+
"scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]",
2656326564
"name": "[coalesce(tryGet(coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()], 'name'), guid(resourceId('Microsoft.CognitiveServices/accounts', parameters('name')), coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].principalId, coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].roleDefinitionId))]",
2656426565
"properties": {
2656526566
"roleDefinitionId": "[coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].roleDefinitionId]",
@@ -27268,8 +27269,8 @@
2726827269
"metadata": {
2726927270
"_generator": {
2727027271
"name": "bicep",
27271-
"version": "0.39.26.7824",
27272-
"templateHash": "13987065577218259048"
27272+
"version": "0.40.2.10011",
27273+
"templateHash": "10331519025916590333"
2727327274
}
2727427275
},
2727527276
"definitions": {
@@ -27515,9 +27516,9 @@
2751527516
}
2751627517
},
2751727518
"dependsOn": [
27518-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
27519-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
2752027519
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
27520+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
27521+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
2752127522
"backendUserAssignedIdentity",
2752227523
"logAnalyticsWorkspace",
2752327524
"userAssignedIdentity",
@@ -30041,8 +30042,8 @@
3004130042
},
3004230043
"dependsOn": [
3004330044
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
30044-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
3004530045
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
30046+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
3004630047
"logAnalyticsWorkspace",
3004730048
"userAssignedIdentity",
3004830049
"virtualNetwork"
@@ -32221,8 +32222,8 @@
3222132222
"metadata": {
3222232223
"_generator": {
3222332224
"name": "bicep",
32224-
"version": "0.39.26.7824",
32225-
"templateHash": "904007681755275486"
32225+
"version": "0.40.2.10011",
32226+
"templateHash": "3013244911345442088"
3222632227
}
3222732228
},
3222832229
"parameters": {
@@ -32316,8 +32317,8 @@
3231632317
"metadata": {
3231732318
"_generator": {
3231832319
"name": "bicep",
32319-
"version": "0.39.26.7824",
32320-
"templateHash": "10276790018915749779"
32320+
"version": "0.40.2.10011",
32321+
"templateHash": "5940276677595603323"
3232132322
}
3232232323
},
3232332324
"parameters": {
@@ -40351,9 +40352,9 @@
4035140352
}
4035240353
},
4035340354
"dependsOn": [
40354-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageFile)]",
40355-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageDfs)]",
4035640355
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageQueue)]",
40356+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageDfs)]",
40357+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageFile)]",
4035740358
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
4035840359
"userAssignedIdentity",
4035940360
"virtualNetwork"
@@ -54171,8 +54172,8 @@
5417154172
"metadata": {
5417254173
"_generator": {
5417354174
"name": "bicep",
54174-
"version": "0.39.26.7824",
54175-
"templateHash": "10645777901440611855"
54175+
"version": "0.40.2.10011",
54176+
"templateHash": "17957913878181935579"
5417654177
}
5417754178
},
5417854179
"definitions": {
@@ -55109,7 +55110,7 @@
5510955110
},
5511055111
"type": "Microsoft.Insights/diagnosticSettings",
5511155112
"apiVersion": "2021-05-01-preview",
55112-
"scope": "[format('Microsoft.Web/sites/{0}', parameters('name'))]",
55113+
"scope": "[resourceId('Microsoft.Web/sites', parameters('name'))]",
5511355114
"name": "[coalesce(tryGet(coalesce(parameters('diagnosticSettings'), createArray())[copyIndex()], 'name'), format('{0}-diagnosticSettings', parameters('name')))]",
5511455115
"properties": {
5511555116
"copy": [
@@ -55184,8 +55185,8 @@
5518455185
"metadata": {
5518555186
"_generator": {
5518655187
"name": "bicep",
55187-
"version": "0.39.26.7824",
55188-
"templateHash": "11666262061409473778"
55188+
"version": "0.40.2.10011",
55189+
"templateHash": "10706743168754451638"
5518955190
},
5519055191
"name": "Site App Settings",
5519155192
"description": "This module deploys a Site App Setting."
@@ -56114,8 +56115,8 @@
5611456115
"metadata": {
5611556116
"_generator": {
5611656117
"name": "bicep",
56117-
"version": "0.39.26.7824",
56118-
"templateHash": "10645777901440611855"
56118+
"version": "0.40.2.10011",
56119+
"templateHash": "17957913878181935579"
5611956120
}
5612056121
},
5612156122
"definitions": {
@@ -57052,7 +57053,7 @@
5705257053
},
5705357054
"type": "Microsoft.Insights/diagnosticSettings",
5705457055
"apiVersion": "2021-05-01-preview",
57055-
"scope": "[format('Microsoft.Web/sites/{0}', parameters('name'))]",
57056+
"scope": "[resourceId('Microsoft.Web/sites', parameters('name'))]",
5705657057
"name": "[coalesce(tryGet(coalesce(parameters('diagnosticSettings'), createArray())[copyIndex()], 'name'), format('{0}-diagnosticSettings', parameters('name')))]",
5705757058
"properties": {
5705857059
"copy": [
@@ -57127,8 +57128,8 @@
5712757128
"metadata": {
5712857129
"_generator": {
5712957130
"name": "bicep",
57130-
"version": "0.39.26.7824",
57131-
"templateHash": "11666262061409473778"
57131+
"version": "0.40.2.10011",
57132+
"templateHash": "10706743168754451638"
5713257133
},
5713357134
"name": "Site App Settings",
5713457135
"description": "This module deploys a Site App Setting."

0 commit comments

Comments
 (0)