Skip to content

Commit

Permalink
fix bicep template for the event subscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
paule96 committed Jul 22, 2023
1 parent 086b829 commit b3219d7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deployEvent.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ resource eventTopic 'Microsoft.EventGrid/systemTopics@2022-06-15' = {
}
}

resource archiveEvent 'Microsoft.EventGrid/eventSubscriptions@2022-06-15' = {
resource archiveEvent 'Microsoft.EventGrid/systemTopics/eventSubscriptions@2022-06-15' = {
name: eventName
scope: eventTopic
parent: eventTopic
properties: {
destination: {
endpointType: 'WebHook'
Expand All @@ -36,5 +36,6 @@ resource archiveEvent 'Microsoft.EventGrid/eventSubscriptions@2022-06-15' = {
advancedFilters: []
}
eventDeliverySchema: 'EventGridSchema'
labels: []
}
}

0 comments on commit b3219d7

Please sign in to comment.