diff --git a/WebSite.json b/WebSite.json index 7cecff0..b89b2c1 100644 --- a/WebSite.json +++ b/WebSite.json @@ -22,7 +22,7 @@ }, "skuName": { "type": "string", - "defaultValue": "F1", + "defaultValue": "B1", "allowedValues": [ "F1", "D1", @@ -92,7 +92,8 @@ "name": "appsettings", "type": "config", "dependsOn": [ - "[resourceId('Microsoft.Web/Sites', parameters('webSiteName'))]" + "[resourceId('Microsoft.Web/Sites', parameters('webSiteName'))]", + "Microsoft.ApplicationInsights.AzureWebSites" ], "properties": { "APPINSIGHTS_INSTRUMENTATIONKEY": "[reference(concat('microsoft.insights/components/', parameters('appInsightsName'))).InstrumentationKey]" @@ -114,7 +115,7 @@ "apiVersion": "2014-04-01", "name": "[parameters('appInsightsName')]", "type": "Microsoft.Insights/components", - "location": "East US", + "location": "[resourceGroup().location]", "tags": { "[concat('hidden-link:', resourceGroup().id, '/providers/Microsoft.Web/sites/', parameters('webSiteName'))]": "Resource", "displayName": "AppInsightsComponent" @@ -124,4 +125,4 @@ } } ] -} \ No newline at end of file +}