File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,9 @@ var privateEndpointInfo = [
52
52
resourceId : resourceId
53
53
})
54
54
]
55
- module privateEndpoints './core/networking/private-endpoint.bicep' = [for privateEndpointInfo in flatten (privateEndpointInfo ): {
56
- name : '${privateEndpointInfo .name }-privateendpoint'
55
+
56
+ module privateEndpoints './core/networking/private-endpoint.bicep' = [for (privateEndpointInfo , i ) in flatten (privateEndpointInfo ): {
57
+ name : '${privateEndpointInfo .name }-${i }-privateendpoint'
57
58
params : {
58
59
location : location
59
60
name : '${privateEndpointInfo .name }${abbrs .privateEndpoint }${resourceToken }'
@@ -82,6 +83,7 @@ module monitorDnsZones './core/networking/private-dns-zones.bicep' = [for monito
82
83
virtualNetworkName : vnetName
83
84
}
84
85
}]
86
+
85
87
// Get blob DNS zone index for monitor private link
86
88
var blobEndpointInfo = filter (flatten (privateEndpointInfo ), info => info .groupId == 'blob' )
87
89
// Assert that blob endpoints exist (required for this application)
You can’t perform that action at this time.
0 commit comments