Deploying a website and App Insights with an ARM template but putting App Insights in another resource group
问题 I have a simple ARM template: { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "hostingPlanName": { "type": "string", "minLength": 1 }, "WebsiteName": { "type": "string", "minLength": 1 }, "externalResourceGroupName": { "type": "string", "metadata": { "description": "The name of a resource group if the deployment need to deploy to an RG that is not the current RG." } } }, "variables": { }, "resources":