Skip to content

Commit

Permalink
Fixed BCP321 Linter warning in networking files
Browse files Browse the repository at this point in the history
  • Loading branch information
tredell committed Feb 11, 2023
1 parent 0fa01e8 commit 4bcbc28
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion landingzones/lz-generic-subscription/networking.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ module vnetPeeringHubToSpoke '../../azresources/network/vnet-peering.bicep' = if
peeringName: 'Spoke-${last(hubVnetIdSplit)}-to-${vnet.name}-${uniqueString(vnet.id)}'
allowForwardedTraffic: true
allowVirtualNetworkAccess: true
sourceVnetName: last(hubVnetIdSplit)
sourceVnetName: last(hubVnetIdSplit)!
targetVnetId: vnet.id
useRemoteGateways: false
}
Expand Down
2 changes: 1 addition & 1 deletion landingzones/lz-healthcare/networking.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ module vnetPeeringHubToSpoke '../../azresources/network/vnet-peering.bicep' = if
peeringName: 'Spoke-${last(hubVnetIdSplit)}-to-${vnet.name}-${uniqueString(vnet.id)}'
allowForwardedTraffic: true
allowVirtualNetworkAccess: true
sourceVnetName: last(hubVnetIdSplit)
sourceVnetName: last(hubVnetIdSplit)!
targetVnetId: vnet.id
useRemoteGateways: false
}
Expand Down
2 changes: 1 addition & 1 deletion landingzones/lz-machinelearning/networking.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ module vnetPeeringHubToSpoke '../../azresources/network/vnet-peering.bicep' = if
peeringName: 'Spoke-${last(hubVnetIdSplit)}-to-${vnet.name}-${uniqueString(vnet.id)}'
allowForwardedTraffic: true
allowVirtualNetworkAccess: true
sourceVnetName: last(hubVnetIdSplit)
sourceVnetName: last(hubVnetIdSplit)!
targetVnetId: vnet.id
useRemoteGateways: false
}
Expand Down

0 comments on commit 4bcbc28

Please sign in to comment.