Reputation: 16
I want to create an application gateway with two vm's inside one resource group and use another resource group for networking components
Upvotes: 0
Views: 365
Reputation: 72191
like you normally would, just give it a subnet in that vnet?
resourceId('resource_group_name', 'Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworkName'), parameters('subnetName'))
Reference:
https://github.com/Azure/azure-quickstart-templates/blob/master/101-application-gateway-create/azuredeploy.json#L118
https://github.com/Azure/azure-quickstart-templates/blob/master/101-application-gateway-create/azuredeploy.json#L171
Upvotes: 1