Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Commit 1db953c

Browse files
committed
bicep code cleanup
1 parent 4f8ff8e commit 1db953c

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

infra/main.bicep

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -222,23 +222,6 @@ module aiSearch 'core/ai-search/ai-search.bicep' = {
222222
name: !empty(aiSearchName) ? aiSearchName : '${abbrs.searchSearchServices}${resourceBaseNameFinal}'
223223
location: location
224224
publicNetworkAccess: enablePrivateEndpoints ? 'disabled' : 'enabled'
225-
// roleAssignments: [
226-
// {
227-
// principalId: workloadIdentity.outputs.principalId
228-
// principalType: 'ServicePrincipal'
229-
// roleDefinitionId: roles.aiSearchContributor
230-
// }
231-
// {
232-
// principalId: workloadIdentity.outputs.principalId
233-
// principalType: 'ServicePrincipal'
234-
// roleDefinitionId: roles.aiSearchIndexDataContributor
235-
// }
236-
// {
237-
// principalId: workloadIdentity.outputs.principalId
238-
// principalType: 'ServicePrincipal'
239-
// roleDefinitionId: roles.aiSearchIndexDataReader
240-
// }
241-
// ]
242225
}
243226
}
244227

@@ -251,13 +234,6 @@ module storage 'core/storage/storage.bicep' = {
251234
location: location
252235
publicNetworkAccess: enablePrivateEndpoints ? 'Disabled' : 'Enabled'
253236
tags: tags
254-
// roleAssignments: [
255-
// {
256-
// principalId: workloadIdentity.outputs.principalId
257-
// principalType: 'ServicePrincipal'
258-
// roleDefinitionId: roles.storageBlobDataContributor
259-
// }
260-
// ]
261237
deleteRetentionPolicy: {
262238
enabled: true
263239
days: 5
@@ -273,13 +249,6 @@ module appInsights 'core/monitor/app-insights.bicep' = {
273249
location: location
274250
appInsightsPublicNetworkAccessForIngestion: enablePrivateEndpoints ? 'Disabled' : 'Enabled'
275251
logAnalyticsWorkspaceId: log.outputs.id
276-
// roleAssignments: [
277-
// {
278-
// principalId: workloadIdentity.outputs.principalId
279-
// principalType: 'ServicePrincipal'
280-
// roleDefinitionId: roles.monitoringMetricsPublisher
281-
// }
282-
// ]
283252
}
284253
}
285254

0 commit comments

Comments
 (0)