Skip to content

Commit f6a43e7

Browse files
fix: Fixed the issue related to cross subscription
1 parent efb75f5 commit f6a43e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infra/deploy_ai_foundry.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ resource applicationInsights 'Microsoft.Insights/components@2020-02-02' = {
6767
Application_Type: 'web'
6868
publicNetworkAccessForIngestion: 'Enabled'
6969
publicNetworkAccessForQuery: 'Enabled'
70-
WorkspaceResourceId: logAnalytics.id
70+
WorkspaceResourceId: useExisting ? existingLogAnalyticsWorkspaceId : logAnalytics.id
7171
}
7272
}
7373

0 commit comments

Comments
 (0)