Add Node.js 22 in function application_stack and Azure Web App application_stack#28081
Add Node.js 22 in function application_stack and Azure Web App application_stack#28081wojtekmaj wants to merge 5 commits intohashicorp:mainfrom wojtekmaj:function-node-22
Conversation
On 10/24/2024, support for Node.js 22 in Azure Functions has been added as public preview. Read more: https://azure.microsoft.com/en-us/updates?id=Azure-Functions-support-for-Nodejs-22 Note 1: This PR does not update Azure Web App application_stack, because it seems like Node.js 22 is not supported there yet. Note 2: I have absolutely no idea what I'm doing, I tried to kinda sorta follow the changes from 7367b6e, with consideration for Note 1.
| DotNetVersion string `tfschema:"dotnet_version"` // Supported values `3.1`, `6.0`, `7.0`, `8.0` and `9.0`. | ||
| DotNetIsolated bool `tfschema:"use_dotnet_isolated_runtime"` // Supported values `true` for `dotnet-isolated`, `false` otherwise | ||
| NodeVersion string `tfschema:"node_version"` // Supported values `12LTS`, `14LTS`, `16LTS`, `18LTS, `20LTS`` | ||
| NodeVersion string `tfschema:"node_version"` // Supported values `12LTS`, `14LTS`, `16LTS`, `18LTS, `20LTS`, `22LTS` |
There was a problem hiding this comment.
You will need to update the validation of this property in the actual schema to accept 22 as a value. If you search for func linuxFunctionAppStackSchema() in the provider you'll find the schema that corresponds to this model.
| DotNetVersion string `tfschema:"dotnet_version"` // Supported values `v3.0`, `v4.0`, `v6.0`, `v7.0`, `v8.0` and `v9.0` | ||
| DotNetIsolated bool `tfschema:"use_dotnet_isolated_runtime"` // Supported values `true` for `dotnet-isolated`, `false` otherwise | ||
| NodeVersion string `tfschema:"node_version"` // Supported values `12LTS`, `14LTS`, `16LTS`, `18LTS, `20LTS` | ||
| NodeVersion string `tfschema:"node_version"` // Supported values `12LTS`, `14LTS`, `16LTS`, `18LTS, `20LTS`, `22LTS` |
There was a problem hiding this comment.
Same for this, but looking for the windows schema equivalent.
|
@wojtekmaj I believe NodeJS 22 is now supported in Web App. |
There was a problem hiding this comment.
I believe NodeJS 22 LTS is now available to Web App stack so it should also be added to
Addressed. |
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |



Community Note
Description
On 10/24/2024, support for Node.js 22 in Azure Functions has been added as public preview.
Read more: https://azure.microsoft.com/en-us/updates?id=Azure-Functions-support-for-Nodejs-22
Note 1: This PR does not update Azure Web App application_stack, because it seems like Node.js 22 is not supported there yet.Note 2: I have absolutely no idea what I'm doing, I tried to kinda sorta follow the changes from 7367b6e, with consideration for Note 1.
PR Checklist
For example: “
resource_name_here- description of change e.g. adding propertynew_property_name_here”Changes to existing Resource / Data Source
Testing
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_resource- support for thething1property [GH-00000]This is a (please select all that apply):
Related Issue(s)
Fixes #0000
Note
If this PR changes meaningfully during the course of review please update the title and description as required.