Skip to content

Commit

Permalink
chore: Update privateEndpoint.bicep to include targetSubResource para…
Browse files Browse the repository at this point in the history
…meter
  • Loading branch information
jmservera committed Jul 23, 2024
1 parent 30c7bc2 commit caf5173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ocpp-server/infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ module webPubSubPrivateEndpoint './modules/privateEndpoint.bicep' = {
subnetId: virtualNetwork.outputs.privateSubnetId
vnetId: virtualNetwork.outputs.vnetId
endpointName: 'wssprivate${uniqueString(resourceGroup().id)}'
targetSubResource: 'webpubsub'
}
}

Expand Down
2 changes: 1 addition & 1 deletion ocpp-server/infra/modules/privateEndpoint.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ param privateLinkResource string
'webpubsub'
'sites'
])
param targetSubResource string = 'webpubsub'
param targetSubResource string

var dnsByTarget = {
webpubsub: 'privatelink.webpubsub.azure.com'
Expand Down

0 comments on commit caf5173

Please sign in to comment.