Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix: set Node.js runtime version
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Apr 14, 2021
1 parent a594490 commit b65d653
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -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)]"
Expand Down

0 comments on commit b65d653

Please sign in to comment.