Reserved app settings like WEBSITE_HTTPLOGGING_RETENTION_DAYS are removed and re-applied during apply, causing app restart on azurerm_windows_web_app · Issue #28802 · hashicorp/terraform-provider-azurerm · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reserved app settings like WEBSITE_HTTPLOGGING_RETENTION_DAYS are removed and re-applied during apply, causing app restart on azurerm_windows_web_app
#28802
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
When terraform applies a change (e.g. to add an ip restriction) then that should be the only change that is applied to the resource in Azure. No app settings should change.
Actual Behaviour
Ip restriction is added/changed, but also the following behaviour is observed:
App settings managed by the provider (not present in the config) are removed and then re-added as part of the apply. This causes an app restart (technically 2 restarts in quick succession - 1 for removal, 1 for addition).
Is there an existing issue for this?
Community Note
Terraform Version
1.10.4
AzureRM Provider Version
4.14.0
Affected Resource(s)/Data Source(s)
azurerm_windows_web_app
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
When terraform applies a change (e.g. to add an ip restriction) then that should be the only change that is applied to the resource in Azure. No app settings should change.
Actual Behaviour
Ip restriction is added/changed, but also the following behaviour is observed:
App settings managed by the provider (not present in the config) are removed and then re-added as part of the apply. This causes an app restart (technically 2 restarts in quick succession - 1 for removal, 1 for addition).
Specifically:
WEBSITE_HTTPLOGGING_RETENTION_DAYS
WEBSITE_HEALTHCHECK_MAXPINGFAILURES
Steps to Reproduce
No response
Important Factoids
No response
References
Possibly related:
#23713 (comment)
#26107
The text was updated successfully, but these errors were encountered: