Skip to content

Commit

Permalink
Fixed conv. for virtual machine
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasguentert committed Apr 13, 2021
1 parent 2d80f98 commit 6d717bd
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 @@ -30,7 +30,7 @@ $ps = @(
@('waf','waf-*','Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies'),

### Compute and Web
@('vm','vm','Microsoft.Compute/virtualMachines'),
@('vm','vm*','Microsoft.Compute/virtualMachines'),
@('vmss','vmss-*','Microsoft.Compute/virtualMachineScaleSets'),
@('avail','avail-*','Microsoft.Compute/availabilitySets'),
#@('osdisk','osdisk-*',''),
Expand Down
2 changes: 1 addition & 1 deletion bicep/naming-convention-vm.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ targetScope = 'subscription'
module vm '../modules/naming-convention-generic.bicep' = {
name: 'policy-naming-convention-vm'
params: {
pattern: 'vm'
pattern: 'vm*'
policyName: 'policy-naming-convention-vm'
assignmentName: 'assignment-naming-convention-vm'
type: 'Microsoft.Compute/virtualMachines'
Expand Down
6 changes: 3 additions & 3 deletions dist/naming-convention-vm.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"mode": "Incremental",
"parameters": {
"pattern": {
"value": "vm"
"value": "vm*"
},
"policyName": {
"value": "policy-naming-convention-vm"
Expand Down Expand Up @@ -115,8 +115,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.3.1.62928",
"templateHash": "18310435973902732123"
"version": "0.3.126.58533",
"templateHash": "4953926087698851212"
}
}
}

0 comments on commit 6d717bd

Please sign in to comment.