File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -1062,7 +1062,7 @@ module isolation 'network-isolation.bicep' = if (usePrivateEndpoint) {
1062
1062
1063
1063
var environmentData = environment ()
1064
1064
1065
- var openAiPrivateEndpointConnection = (isAzureOpenAiHost && deployAzureOpenAi && deploymentTarget == 'appservice' )
1065
+ var openAiPrivateEndpointConnection = (isAzureOpenAiHost && deployAzureOpenAi )
1066
1066
? [
1067
1067
{
1068
1068
groupId : 'account'
@@ -1075,7 +1075,7 @@ var openAiPrivateEndpointConnection = (isAzureOpenAiHost && deployAzureOpenAi &&
1075
1075
}
1076
1076
]
1077
1077
: []
1078
- var otherPrivateEndpointConnections = (usePrivateEndpoint && deploymentTarget == 'appservice' )
1078
+ var otherPrivateEndpointConnections = (usePrivateEndpoint )
1079
1079
? [
1080
1080
{
1081
1081
groupId : 'blob'
@@ -1088,9 +1088,9 @@ var otherPrivateEndpointConnections = (usePrivateEndpoint && deploymentTarget ==
1088
1088
resourceIds : [searchService .outputs .id ]
1089
1089
}
1090
1090
{
1091
- groupId : 'sites '
1092
- dnsZoneName : 'privatelink.azurewebsites.net '
1093
- resourceIds : [backend .outputs .id ]
1091
+ groupId : 'managedEnvironments '
1092
+ dnsZoneName : 'privatelink.${ location }.azurecontainerapps.io '
1093
+ resourceIds : [containerApps .outputs .environmentId ]
1094
1094
}
1095
1095
{
1096
1096
groupId : 'cosmosdb'
Original file line number Diff line number Diff line change @@ -57,4 +57,6 @@ module vnet './core/networking/vnet.bicep' = if (usePrivateEndpoint) {
57
57
58
58
output appSubnetId string = usePrivateEndpoint ? vnet .outputs .vnetSubnets [1 ].id : ''
59
59
output backendSubnetId string = usePrivateEndpoint ? vnet .outputs .vnetSubnets [0 ].id : ''
60
+ output bastionSubnetId string = usePrivateEndpoint ? vnet .outputs .vnetSubnets [2 ].id : ''
61
+ output vmSubnetId string = usePrivateEndpoint ? vnet .outputs .vnetSubnets [3 ].id : ''
60
62
output vnetName string = usePrivateEndpoint ? vnet .outputs .name : ''
You can’t perform that action at this time.
0 commit comments