Skip to content

Commit e16ac5f

Browse files
committed
Refactor AI services module: update aiServicesName assignment to handle existing project condition
1 parent c6d5947 commit e16ac5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ module aiFoundryAiServicesProject 'modules/ai-project.bicep' = if (!useExistingA
11251125
location: azureAiServiceLocation
11261126
tags: tags
11271127
desc: aiFoundryAiProjectDescription
1128-
aiServicesName: aiFoundryAiServicesResourceName
1128+
aiServicesName: useExistingAiFoundryAiProject ? existingAiFoundryAiServices.name : aiFoundryAiServices!.outputs.name
11291129
}
11301130
}
11311131

0 commit comments

Comments
 (0)