Skip to content

Commit

Permalink
Update Logic App callback reference (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasanker authored Apr 14, 2024
1 parent e1cdaf2 commit 5606a5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions azuredeploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ module actionGroup 'modules/actiongroup.bicep' = {
logicAppReceivers: [
{
name: alertLogicApp.outputs.logicAppName
resourceId: alertLogicApp.outputs.logicAppResourceId
urlPath: '/triggers/HTTP_Request/paths/invoke'
urlPath: 'HTTP_Request'
apiVersion: '2019-05-01'
useCommonAlertSchema: true
}
Expand Down
2 changes: 1 addition & 1 deletion modules/actiongroup.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource actiongroup 'Microsoft.Insights/actionGroups@2023-01-01' = {
for app in logicAppReceivers: {
name: app.name
resourceId: app.ResourceId
callbackUrl: listCallbackUrl('${app.ResourceId}${app.urlPath}', app.apiVersion).value
callbackUrl: listCallbackUrl(resourceId('Microsoft.Logic/workflows', app.name, app.urlPath), app.apiVersion).value
useCommonAlertSchema: app.UseCommonAlertSchema
}
]
Expand Down

0 comments on commit 5606a5e

Please sign in to comment.