@@ -217,25 +217,38 @@ module network 'modules/network.bicep' = if (enablePrivateNetworking) {
217217}
218218
219219module aiServices 'modules/ai-foundry/main.bicep' = {
220- name : take ('aiservices-${resourcesName }-deployment' , 64 )
221- #disable-next-line no-unnecessary-dependson
222- dependsOn : [logAnalyticsWorkspace , network ] // required due to optional flags that could change dependency
220+ name : take ('avm.res.cognitive-services.account.${resourcesName }' , 64 )
223221 params : {
224222 name : 'ais-${resourcesName }'
225223 location : aiDeploymentsLocation
226224 sku : 'S0'
227225 kind : 'AIServices'
228- deployments : [modelDeployment ]
229- projectName : 'proj -${resourcesName }'
230- projectDescription : 'aifp-${solutionUniqueToken }'
226+ deployments : [ modelDeployment ]
227+ projectName : 'aifp -${resourcesName }'
228+ projectDescription : 'aifp-${resourcesName }'
231229 logAnalyticsWorkspaceResourceId : enableMonitoring ? logAnalyticsWorkspaceResourceId : ''
232- existingFoundryProjectResourceId : azureExistingAIProjectResourceId
233230 privateNetworking : enablePrivateNetworking
234231 ? {
235232 virtualNetworkResourceId : network .outputs .vnetResourceId
236233 subnetResourceId : network .outputs .subnetPrivateEndpointsResourceId
237234 }
238235 : null
236+ existingFoundryProjectResourceId : azureExistingAIProjectResourceId
237+ disableLocalAuth : true //Should be set to true for WAF aligned configuration
238+ customSubDomainName : 'ais-${resourcesName }'
239+ apiProperties : {
240+ //staticsEnabled: false
241+ }
242+ allowProjectManagement : true
243+ managedIdentities : {
244+ systemAssigned : true
245+ }
246+ publicNetworkAccess : 'Enabled'
247+ networkAcls : {
248+ bypass : 'AzureServices'
249+ defaultAction : 'Allow'
250+ }
251+ privateEndpoints : []
239252 roleAssignments : [
240253 {
241254 principalId : appIdentity .outputs .principalId
0 commit comments