Skip to content

Commit

Permalink
Fix groupIDs and set correct scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
janboll committed Nov 4, 2024
1 parent 07d1822 commit 033878e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev-infrastructure/templates/mgmt-cluster.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,18 @@ module dnsZoneContributor '../modules/dns/zone-contributor.bicep' = {

resource eventGridNamespace 'Microsoft.EventGrid/namespaces@2024-06-01-preview' existing = {
name: maestroEventGridNamespacesName
scope: resourceGroup(regionalResourceGroup)
}

module eventGrindPrivateEndpoint '../modules/private-endpoint.bicep' = {
name: 'eventGridPrivateEndpoint'
scope: resourceGroup(regionalResourceGroup)
params: {
location: location
serviceType: 'eventgrid'
subnetIds: [mgmtCluster.outputs.aksNodeSubnetId]
privateLinkServiceId: eventGridNamespace.id
groupIds: ['topicspaces']
groupIds: ['topicspace']
privateEndpointDnsZoneName: 'privatelink.ts.eventgrid.azure.net'
vnetId: mgmtCluster.outputs.aksVnetId
}
Expand Down

0 comments on commit 033878e

Please sign in to comment.