Skip to content

Instantly share code, notes, and snippets.

@johnlokerse
Last active March 27, 2022 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnlokerse/9b15e3b7462184d4a45435e987e23893 to your computer and use it in GitHub Desktop.
Save johnlokerse/9b15e3b7462184d4a45435e987e23893 to your computer and use it in GitHub Desktop.
// Explicit dependency
resource contosoZone 'Microsoft.Network/dnsZones@2018-05-01' = {
name: 'contoso.com'
location: 'global'
}
resource virtualNetwork 'Microsoft.Network/virtualNetworks@2019-11-01' = {
name: 'euw-contoso'
location: resourceGroup().location
properties: {
addressSpace: {
addressPrefixes: [
'10.0.0.0/16'
]
}
}
dependsOn: [
contosoZone
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment