Open PriceChild opened 4 years ago
@PriceChild Thanks for your comment! We will review and provide an update as appropriate.
@PriceChild Thanks for raising this issue! We have assigned this issue to the content author to review and update the docs accordingly.
https://stackoverflow.com/a/58518078 has some example syntax for the required settings.
I've recently discovered https://docs.microsoft.com/en-us/azure/app-service/containers/configure-language-nodejs which explains how to set the version for Linux Function Apps through the az command line. It might be useful to link to this.
It looks like the format may be different when deploying arm templates, shown by advice at https://stackoverflow.com/a/58518078
FWIW, confirmed a value similar to:
"linuxFxVersion": "DOCKER|mcr.microsoft.com/azure-functions/node:3.0-node12"
is required in arm templates.
Please see the following comment:
https://github.com/Azure/azure-functions-host/issues/3406#issuecomment-652504713
In short,
WEBSITE_NODE_DEFAULT_VERSION
is not supported and is not intended to be supported by Linux apps?Instead, a properties/siteProperties/properties/LinuxFxVersion must be set to a different value.
I haven't tested this myself yet, but aim to figure out the format required and may propose a PR if possible.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.