-
-
Save johnlokerse/4080003b08de245442cc3f93b7beb737 to your computer and use it in GitHub Desktop.
This file contains 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
resource resMyExistingVnet 'Microsoft.Network/virtualNetworks@2021-08-01' existing = { | |
name: 'my-exiting-virtual-network-name' | |
resource resMyFirstSubnet 'subnets' existing = { | |
name: 'my-existing-first-subnet' | |
} | |
resource resMyOtherSubnet 'subnets' existing = { | |
name: 'my-other-subnet' | |
} | |
} | |
output outFirstSubnet string = resMyExistingVnet::resMyFirstSubnet.id | |
output outOtherSubnet string = resMyExistingVnet::resMyOtherSubnet.id | |
output outVnetId string = resMyExistingVnet.id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment