Skip to content

Commit 4c88ca4

Browse files
Merge pull request #872 from microsoft/hb-psl-bug-38010
fix: Add dependency on aiFoundryPrivateEndpoint for aiFoundryAiServicesProject module
2 parents 9544952 + df4c141 commit 4c88ca4

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

infra/main.bicep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,6 +1015,7 @@ resource existingAiFoundryAiServicesProject 'Microsoft.CognitiveServices/account
10151015

10161016
module aiFoundryAiServicesProject 'modules/ai-project.bicep' = if (!useExistingAiFoundryAiProject) {
10171017
name: take('module.ai-project.${aiFoundryAiProjectResourceName}', 64)
1018+
dependsOn: enablePrivateNetworking ? [ aiFoundryPrivateEndpoint ] : []
10181019
params: {
10191020
name: aiFoundryAiProjectResourceName
10201021
location: azureAiServiceLocation

infra/main.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"_generator": {
77
"name": "bicep",
88
"version": "0.41.2.15936",
9-
"templateHash": "13724980897210103236"
9+
"templateHash": "13556415974563619107"
1010
},
1111
"name": "Multi-Agent Custom Automation Engine",
1212
"description": "This module contains the resources required to deploy the [Multi-Agent Custom Automation Engine solution accelerator](https://github.com/microsoft/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator) for both Sandbox environments and WAF aligned environments.\n\n> **Note:** This module is not intended for broad, generic use, as it was designed by the Commercial Solution Areas CTO team, as a Microsoft Solution Accelerator. Feature requests and bug fix requests are welcome if they support the needs of this organization but may not be incorporated if they aim to make this module more generic than what it needs to be for its primary use case. This module will likely be updated to leverage AVM resource modules in the future. This may result in breaking changes in upcoming versions when these features are implemented.\n"
@@ -26348,7 +26348,8 @@
2634826348
}
2634926349
},
2635026350
"dependsOn": [
26351-
"aiFoundryAiServices"
26351+
"aiFoundryAiServices",
26352+
"aiFoundryPrivateEndpoint"
2635226353
]
2635326354
},
2635426355
"cosmosDb": {

infra/main_custom.bicep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,7 @@ resource existingAiFoundryAiServicesProject 'Microsoft.CognitiveServices/account
10131013

10141014
module aiFoundryAiServicesProject 'modules/ai-project.bicep' = if (!useExistingAiFoundryAiProject) {
10151015
name: take('module.ai-project.${aiFoundryAiProjectResourceName}', 64)
1016+
dependsOn: enablePrivateNetworking ? [ aiFoundryPrivateEndpoint ] : []
10161017
params: {
10171018
name: aiFoundryAiProjectResourceName
10181019
location: azureAiServiceLocation

0 commit comments

Comments
 (0)