File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -992,6 +992,9 @@ var aiFoundryAiProjectName = aiFoundryAiProjectConfiguration.?name ?? 'aifp-${so
992992
993993resource aiServices 'Microsoft.CognitiveServices/accounts@2025-04-01-preview' existing = {
994994 name : aiFoundryAiServicesResourceName
995+ dependsOn :[
996+ aiFoundryAiServices
997+ ]
995998}
996999
9971000var aiProjectDescription = 'AI Foundry Project'
@@ -1007,9 +1010,6 @@ resource aiFoundryProject 'Microsoft.CognitiveServices/accounts/projects@2025-04
10071010 description : aiProjectDescription
10081011 displayName : aiFoundryAiProjectName
10091012 }
1010- dependsOn :[
1011- aiServices
1012- ]
10131013}
10141014
10151015resource aiUser 'Microsoft.Authorization/roleDefinitions@2022-04-01' existing = {
@@ -1268,11 +1268,11 @@ module containerApp 'br/public:avm/res/app/container-app:0.14.2' = if (container
12681268 name : 'APPLICATIONINSIGHTS_CONNECTION_STRING'
12691269 value : applicationInsights .outputs .connectionString
12701270 }
1271- // {
1272- // name: 'AZURE_AI_AGENT_PROJECT_CONNECTION_STRING'
1273- // value: '${toLower(replace(azureOpenAILocation,' ',''))}.api.azureml.ms;${subscription().subscriptionId};${resourceGroup().name};${aiFoundryAiProjectName}'
1274- // //Location should be the AI Foundry AI Project location
1275- // }
1271+ {
1272+ name : 'AZURE_AI_AGENT_PROJECT_CONNECTION_STRING'
1273+ value : '${toLower (replace (azureOpenAILocation ,' ' ,'' ))}.api.azureml.ms;${subscription ().subscriptionId };${resourceGroup ().name };${aiFoundryAiProjectName }'
1274+ //Location should be the AI Foundry AI Project location
1275+ }
12761276 {
12771277 name : 'AZURE_AI_SUBSCRIPTION_ID'
12781278 value : subscription ().subscriptionId
You can’t perform that action at this time.
0 commit comments