Update of Azure Web App using runtime NodeJS can unset the NodeJS version leading to crash #25452
Closed
1 task done
Labels
Milestone
Is there an existing issue for this?
Community Note
Terraform Version
1.7.5
AzureRM Provider Version
3.86.0 (verified on 3.87.1)
Affected Resource(s)/Data Source(s)
azurerm_windows_web_app
Terraform Configuration Files
Debug Output/Panic Output
N/A (I'm not the manager of the terraform file and can't get these informations)
Expected Behaviour
When we need to update the IP restriction, only the IP restriction should be updated and not the App Settings. At the same time, if we need to update the App Settings the node version should not be lost in the process
Actual Behaviour
If the environment variable for NodeJS version is set and we start to update our ip restriction of the windows web app, it's lost in the update without notification leading to Azure using the NodeJS version 0.16.1 (all of our applications instantly crash).
However, if the environment variable for NodeJS version isn't set, Terraform correctly add it
--> Right now, we need to make 2 deployment if we have to change something in App Settings or Site Configuration leading to unacceptable downtime
Steps to Reproduce
(I'm not the manager of the terraform file and can't get all the commands in details, so you have only the idea indicated)
Important Factoids
N/A
References
Seems related/similar to #16681
The text was updated successfully, but these errors were encountered: