Skip to content

Commit cca225a

Browse files
author
Balakrishnan, Rajkumar
committed
Updated Instrumentationkey
1 parent 59e8450 commit cca225a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

web/deploy/template.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"applicationInsightsLocation": {
1313
"type": "string",
14-
"defaultValue": "westus2"
14+
"defaultValue": "[resourceGroup().location]"
1515
},
1616
"appServicePlanSkuName": {
1717
"type": "string",
@@ -97,7 +97,8 @@
9797
},
9898
"properties": {
9999
"FUNCTION_API_PROXY_ROOT": "[variables('functionAppProxyUrl')]",
100-
"WEBSITE_NODE_DEFAULT_VERSION" : "6.9.1"
100+
"WEBSITE_NODE_DEFAULT_VERSION" : "6.9.1",
101+
"APPINSIGHTS_INSTRUMENTATIONKEY": "[reference(resourceId('Microsoft.Insights/components', variables('applicationInsightsName')), '2014-04-01').InstrumentationKey]"
101102
}
102103
}
103104
],

0 commit comments

Comments
 (0)