Created
May 17, 2023 17:44
-
-
Save JayDoubleu/79145df9aced80633f8e392f85a6e101 to your computer and use it in GitHub Desktop.
Bicep code to deploy network watchers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param tags object = {} | |
param environment | |
param prefix string | |
param regions array = [ | |
'uksouth' | |
'ukwest' | |
'northeurope' | |
'westeurope' | |
'eastus' | |
'southcentralus' | |
] | |
var abbrev = 'nw' | |
resource networkWatchers 'Microsoft.Network/networkWatchers@2022-07-01' = [for region in regions: { | |
name: '${abbrev}-${prefix}-${environment}-${region}' | |
location: region | |
tags: tags | |
properties: {} | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment