File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -1045,6 +1045,12 @@ module search 'modules/core/search/search-services.bicep' = if (databaseType ==
10451045 roleDefinitionId : 'a97b65f3-24c7-4388-baec-2e87135dc908'
10461046 principalType : 'ServicePrincipal'
10471047 }
1048+ {
1049+ resourceId : openai .outputs .resourceId
1050+ roleName : 'Cognitive Services OpenAI User'
1051+ roleDefinitionId : '5e0bd9bd-7b93-4f28-af87-19fc36ad61bd'
1052+ principalType : 'ServicePrincipal'
1053+ }
10481054 ]
10491055 }
10501056}
Original file line number Diff line number Diff line change 66 "_generator": {
77 "name": "bicep",
88 "version": "0.37.4.10188",
9- "templateHash": "16854127182224391242 "
9+ "templateHash": "18400197968684403108 "
1010 }
1111 },
1212 "parameters": {
2280522805 "roleName": "Cognitive Services User",
2280622806 "roleDefinitionId": "a97b65f3-24c7-4388-baec-2e87135dc908",
2280722807 "principalType": "ServicePrincipal"
22808+ },
22809+ {
22810+ "resourceId": "[reference('openai').outputs.resourceId.value]",
22811+ "roleName": "Cognitive Services OpenAI User",
22812+ "roleDefinitionId": "5e0bd9bd-7b93-4f28-af87-19fc36ad61bd",
22813+ "principalType": "ServicePrincipal"
2280822814 }
2280922815 ]
2281022816 }
4828048286 }
4828148287 },
4828248288 "dependsOn": [
48283- "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageFile)]",
48284- "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
4828548289 "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageQueue)]",
48290+ "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
48291+ "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageFile)]",
4828648292 "managedIdentityModule",
4828748293 "network"
4828848294 ]
You can’t perform that action at this time.
0 commit comments