Skip to content

Commit 6c2610e

Browse files
committed
tested code
1 parent 87e42b9 commit 6c2610e

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ param enableScaling bool = false
6060
@description('Optional. Enable redundancy for applicable resources. Defaults to false.')
6161
param enableRedundancy bool = false
6262

63-
@description('Optional. The secondary location for the Cosmos DB account if redundancy is enabled. Defaults to false.')
63+
@description('Optional. The secondary location for the Cosmos DB account if redundancy is enabled.')
6464
param secondaryLocation string?
6565

6666
@description('Optional. Enable private networking for the resources. Set to true to enable private networking. Defaults to false.')

infra/modules/ai-foundry/main.bicep

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ module openAiPrivateDnsZone '../privateDnsZone.bicep' = if (privateNetworking !=
9595
}
9696
}
9797

98-
// added
9998
module aiServicesPrivateDnsZone '../privateDnsZone.bicep' = if (privateNetworking != null && empty(privateNetworking.?aiServicesPrivateDnsZoneResourceId)) {
10099
name: take('${name}-ai-services-pdns-deployment', 64)
101100
params: {
@@ -116,7 +115,6 @@ var openAIPrivateDnsZoneResourceId = privateNetworking != null
116115
: privateNetworking.?openAIPrivateDnsZoneResourceId)
117116
: ''
118117

119-
120118
var aiServicesPrivateDnsZoneResourceId = privateNetworking != null
121119
? (empty(privateNetworking.?aiServicesPrivateDnsZoneResourceId)
122120
? aiServicesPrivateDnsZone.outputs.resourceId ?? ''

0 commit comments

Comments
 (0)