Skip to content

Commit 72fd1a9

Browse files
author
Shreyas-Microsoft
committed
fix param duplication
1 parent ee26785 commit 72fd1a9

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ jobs:
115115
--template-file infra/main.bicep \
116116
--parameters solutionName=${{env.SOLUTION_PREFIX}} \
117117
--parameters location=${{ env.AZURE_LOCATION }} \
118-
--parameters aiDeploymentLocation=${{ env.AZURE_LOCATION }} \
119-
--parameters azureAiServiceLocation=${{ env.AZURE_LOCATION }}
118+
--parameters aiDeploymentLocation=${{ env.AZURE_LOCATION }}
120119
121120
122121
- name: Extract AI Services and Key Vault Names

infra/main.bicep

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,9 @@ var solutionLocation = empty(location) ? resourceGroup().location : location
3636
]
3737
}
3838
})
39-
@description('Required. Location for AI Foundry deployment. This is the location where the AI Foundry resources will be deployed.')
40-
param azureAiServiceLocation string
4139
@description('Optional. Location for all AI service resources. This location can be different from the resource group location.')
4240
param aiDeploymentLocation string
4341

44-
@description('Optional. Azure AI Service location for the AI Foundry module.')
45-
param azureAiServiceLocation string = aiDeploymentLocation
46-
4742
@description('Optional. The host (excluding https://) of an existing container registry. This is the `loginServer` when using Azure Container Registry.')
4843
param containerRegistryHost string = 'containermigrationacr.azurecr.io'
4944

@@ -728,7 +723,7 @@ module aiFoundry 'br/public:avm/ptn/ai-ml/ai-foundry:0.4.0' = if(!useExistingAiF
728723
#disable-next-line BCP334
729724
baseName: take(aiFoundryAiServicesResourceName, 12)
730725
baseUniqueName: null
731-
location: empty(azureAiServiceLocation) ? location : azureAiServiceLocation
726+
location: empty(aiDeploymentLocation) ? location : aiDeploymentLocation
732727
aiFoundryConfiguration: {
733728
accountName:aiFoundryAiServicesResourceName
734729
allowProjectManagement: true

0 commit comments

Comments
 (0)