/repro_Azure_azure-functions-host_issues_7176

Reproduce the empty linux_fx_version config and node:10

Primary LanguageShellMIT LicenseMIT

There's a dev container for VS Code included to start quickly with all tools pre-installed.

Login with Azure CLI:

az login

Deploy infra:

cd terraform

terraform init

terraform apply

Check Azure Functions runtime version:

curl -sS 'https://<function app name>.azurewebsites.net/admin/host/status?code=<master key>' | jq

Expected: Version 2.xx (because of ~2.0 pinning)

Actual: Version 3.xx

Publish the function to print Node.js version:

func azure functionapp publish <function app name>

Check Node.js version:

curl https://<function app name>.azurewebsites.net/api/print-node-version