@@ -113,10 +113,10 @@ param enableRedundancy bool = false
113113param enablePrivateNetworking bool = true
114114
115115@description ('Optional. The Container Registry hostname where the docker images are located.' )
116- param acrName string = 'byocgacontainerreg '
116+ param acrName string = 'testapwaf '
117117
118118@description ('Optional. Image Tag.' )
119- param imageTag string = 'latest '
119+ param imageTag string = 'waf '
120120
121121@description ('Optional. Enable/Disable usage telemetry for module.' )
122122param enableTelemetry bool = true
@@ -679,16 +679,16 @@ module aiSearch 'br/public:avm/res/search/search-service:0.11.1' = {
679679 replicaCount : 1
680680 partitionCount : 1
681681 roleAssignments : [
682- {
683- roleDefinitionIdOrName : 'Cognitive Services Contributor' // Cognitive Search Contributor
684- principalId : userAssignedIdentity .outputs .principalId
685- principalType : 'ServicePrincipal'
686- }
687- {
688- roleDefinitionIdOrName : 'Cognitive Services OpenAI User' //'5e0bd9bd-7b93-4f28-af87-19fc36ad61bd'// Cognitive Services OpenAI User
689- principalId : userAssignedIdentity .outputs .principalId
690- principalType : 'ServicePrincipal'
691- }
682+ // {
683+ // roleDefinitionIdOrName: 'Cognitive Services Contributor' // Cognitive Search Contributor
684+ // principalId: userAssignedIdentity.outputs.principalId
685+ // principalType: 'ServicePrincipal'
686+ // }
687+ // {
688+ // roleDefinitionIdOrName: 'Cognitive Services OpenAI User'//'5e0bd9bd-7b93-4f28-af87-19fc36ad61bd'// Cognitive Services OpenAI User
689+ // principalId: userAssignedIdentity.outputs.principalId
690+ // principalType: 'ServicePrincipal'
691+ // }
692692 {
693693 roleDefinitionIdOrName : 'Search Index Data Contributor' // 1407120a-92aa-4202-b7e9-c0e197c71c8f
694694 principalId : userAssignedIdentity .outputs .principalId
@@ -729,9 +729,6 @@ resource aiSearchFoundryConnection 'Microsoft.CognitiveServices/accounts/project
729729 location : aiSearch .outputs .location
730730 }
731731 }
732- dependsOn : [
733- aiFoundryAiServicesProject
734- ]
735732}
736733
737734module existing_AIProject_SearchConnectionModule 'modules/deploy_aifp_aisearch_connection.bicep' = if (useExistingAiFoundryAiProject ) {
0 commit comments