File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,7 +113,10 @@ jobs:
113113 az deployment group create \
114114 --resource-group ${{ env.RESOURCE_GROUP_NAME }} \
115115 --template-file infra/main.bicep \
116- --parameters solutionName=${{env.SOLUTION_PREFIX}}
116+ --parameters solutionName=${{env.SOLUTION_PREFIX}} \
117+ --parameters location=${{ env.AZURE_LOCATION }} \
118+ --parameters aiDeploymentLocation=${{ env.AZURE_LOCATION }} \
119+ --parameters azureAiServiceLocation=${{ env.AZURE_LOCATION }}
117120
118121
119122 - name : Extract AI Services and Key Vault Names
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ param azureAiServiceLocation string
5353 'westus3'
5454])
5555@description ('Required. Azure region for AI model deployment. Should match azureAiServiceLocation for optimal performance.' )
56- param aiDeploymentLocation string
56+ param aiDeploymentLocation string = azureAiServiceLocation
5757
5858@description ('Optional. The host (excluding https://) of an existing container registry. This is the `loginServer` when using Azure Container Registry.' )
5959param containerRegistryHost string = 'containermigrationacr.azurecr.io'
@@ -739,7 +739,7 @@ module aiFoundry 'br/public:avm/ptn/ai-ml/ai-foundry:0.4.0' = if(!useExistingAiF
739739 #disable-next-line BCP334
740740 baseName : take (aiFoundryAiServicesResourceName , 12 )
741741 baseUniqueName : null
742- location : empty (aiDeploymentLocation ) ? location : aiDeploymentLocation
742+ location : empty (azureAiServiceLocation ) ? location : azureAiServiceLocation
743743 aiFoundryConfiguration : {
744744 accountName :aiFoundryAiServicesResourceName
745745 allowProjectManagement : true
You can’t perform that action at this time.
0 commit comments