Skip to content

Commit

Permalink
Fixed event hub policy
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasguentert committed Apr 12, 2021
1 parent 4e1f93e commit 5729001
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Generate-Biceps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ $ps = @(
#@('dls','dls-*',''),
#@('dla','dla*',''),
@('evhns','evhns-*','Microsoft.EventHub/namespaces'),
@('evh','evh-*','Microsoft.EventHub/clusters'),
@('evh','evh-*','Microsoft.EventHub/namespaces/eventhubs'),
@('evgd','evgd-*','Microsoft.EventGrid/domains'),
@('evgt','evgt-*','Microsoft.EventGrid/topics'),
#@('hadoop','hadoop-*',''),
Expand Down
2 changes: 1 addition & 1 deletion bicep/naming-convention-evh.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ module evh '../modules/naming-convention-generic.bicep' = {
pattern: 'evh-*'
policyName: 'policy-naming-convention-evh'
assignmentName: 'assignment-naming-convention-evh'
type: 'Microsoft.EventHub/clusters'
type: 'Microsoft.EventHub/namespaces/eventhubs'
}
}
6 changes: 3 additions & 3 deletions dist/naming-convention-evh.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"value": "assignment-naming-convention-evh"
},
"type": {
"value": "Microsoft.EventHub/clusters"
"value": "Microsoft.EventHub/namespaces/eventhubs"
}
},
"template": {
Expand Down Expand Up @@ -115,8 +115,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.3.1.62928",
"templateHash": "4294574903632797236"
"version": "0.3.126.58533",
"templateHash": "12783482618271367460"
}
}
}

0 comments on commit 5729001

Please sign in to comment.