Skip to content

Commit 99e651c

Browse files
update existing project endpoint
1 parent fc57d7d commit 99e651c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infra/modules/ai-foundry/project.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ param azureExistingAIProjectResourceId string = ''
1919
// // Extract components from existing AI Project Resource ID if provided
2020
var useExistingProject = !empty(azureExistingAIProjectResourceId)
2121
var existingProjName = useExistingProject ? last(split(azureExistingAIProjectResourceId, '/')) : ''
22-
var existingProjEndpoint = useExistingProject ? format('https://{0}.services.ai.azure.com/api/projects/{0}', existingProjName) : ''
22+
var existingProjEndpoint = useExistingProject ? format('https://{0}.services.ai.azure.com/api/projects/{1}', aiServicesName, existingProjName) : ''
2323

2424
// Reference to cognitive service in current resource group for new projects
2525
resource cogServiceReference 'Microsoft.CognitiveServices/accounts@2024-10-01' existing = {

0 commit comments

Comments
 (0)