-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The FUNCTIONS_WORKER_RUNTIME
and WEBSITE_NODE_DEFAULT_VERSION
get removed on azurerm_windows_function_app_slot
after apply
#18947
Comments
Thanks @KenticoMartinS for raising this issue, the fix is included in this pr:#18076 |
Hi, |
Hi @KenticoMartinS , the issue should be fixed, are you still seeing this issue? Let me know if you have any question. Thanks |
Hi @xiaxyi, |
Thanks for taking the time to submit this issue. Based on the above comment, @KenticoMartinS is no longer seeing this issue as of v3.50. As such, I am going to mark this issue as closed. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Is there an existing issue for this?
Community Note
Terraform Version
1.3.2
AzureRM Provider Version
3.26.0
Affected Resource(s)/Data Source(s)
azurerm_windows_function_app_slot
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
When multiple
terraform apply
occur on theazurerm_windows_function_app_slot
resource, theWEBSITE_NODE_DEFAULT_VERSION
andFUNCTIONS_WORKER_RUNTIME
application settings should remain intact, if there were no changes.Actual Behaviour
When the minimal Terraform configuration provided above, is run the first time, everything is correct. The slot has both settings with the correct values
WEBSITE_NODE_DEFAULT_VERSION = "~16"
,FUNCTIONS_WORKER_RUNTIME = "node"
.After the second
terraform apply
, when thehttp2_enabled
is changed (or a new application setting is added), both settings are missing.Steps to Reproduce
http2_enabled
line and runterraform apply
againI highly suspect the following line of code. If it is compared to how the
azurerm_windows_function_app
works, there is probably redundant condition for changes in theapplication_stack
. As they don't happen, those 2 settings are not added in theappSettings
object.Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: