Skip to content

Commit

Permalink
Fixed bug in newWorkload.bicep (#488)
Browse files Browse the repository at this point in the history
Co-authored-by: Brooke Hamilton <[email protected]>
  • Loading branch information
sstjean and brooke-hamilton authored Oct 28, 2021
1 parent bfded1b commit b760be0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/bicep/examples/newWorkload/newWorkload.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ param virtualNetworkDiagnosticsMetrics array = []

param networkSecurityGroupName string = '${workloadName}-nsg'
param networkSecurityGroupRules array = []
param networkSecurityGroupDiagnosticsLogs array = [
{
category: 'NetworkSecurityGroupEvent'
enabled: true
}
{
category: 'NetworkSecurityGroupRuleCounter'
enabled: true
}
]
param networkSecurityGroupDiagnosticsMetrics array = []

param subnetName string = '${workloadName}-subnet'
param subnetAddressPrefix string = '10.0.125.0/27'
Expand Down Expand Up @@ -60,6 +71,8 @@ module spokeNetwork '../../modules/spokeNetwork.bicep' = {

networkSecurityGroupName: networkSecurityGroupName
networkSecurityGroupRules: networkSecurityGroupRules
networkSecurityGroupDiagnosticsLogs: networkSecurityGroupDiagnosticsLogs
networkSecurityGroupDiagnosticsMetrics: networkSecurityGroupDiagnosticsMetrics

subnetName: subnetName
subnetAddressPrefix: subnetAddressPrefix
Expand Down

0 comments on commit b760be0

Please sign in to comment.