diff --git a/azuredeploy.json b/azuredeploy.json index 65231b907..fee08e06a 100644 --- a/azuredeploy.json +++ b/azuredeploy.json @@ -277,6 +277,10 @@ "name": "FUNCTIONS_WORKER_RUNTIME", "value": "node" }, + { + "name": "WEBSITE_NODE_DEFAULT_VERSION", + "value": "node|14" + }, { "name": "IOT_HUB_CONNECTION_STRING", "value": "[concat('HostName=', reference(resourceId('Microsoft.Devices/IoTHubs', concat(parameters('appName'), 'IotHub')), providers('Microsoft.Devices', 'IoTHubs').apiVersions[0]).hostName, ';SharedAccessKeyName=iothubowner;SharedAccessKey=', listKeys(resourceId('Microsoft.Devices/IotHubs', concat(parameters('appName'), 'IotHub')), providers('Microsoft.Devices', 'IoTHubs').apiVersions[0]).value[0].primaryKey)]"