Skip to content

Commit

Permalink
azurerm_windows_web_app_slot, azurerm_linux_web_app_slot - remove…
Browse files Browse the repository at this point in the history
… hasChange condition for attribute `use_32_bit_worker` (#20051)

fix #19765
  • Loading branch information
xiaxyi authored Jan 17, 2023
1 parent 86d93b6 commit 1c91f14
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions internal/services/appservice/helpers/web_app_slot_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -660,9 +660,7 @@ func ExpandSiteConfigLinuxWebAppSlot(siteConfig []SiteConfigLinuxWebAppSlot, exi
expanded.RemoteDebuggingVersion = pointer.To(linuxSlotSiteConfig.RemoteDebuggingVersion)
}

if metadata.ResourceData.HasChange("site_config.0.use_32_bit_worker") {
expanded.Use32BitWorkerProcess = pointer.To(linuxSlotSiteConfig.Use32BitWorker)
}
expanded.Use32BitWorkerProcess = pointer.To(linuxSlotSiteConfig.Use32BitWorker)

if metadata.ResourceData.HasChange("site_config.0.websockets_enabled") {
expanded.WebSocketsEnabled = pointer.To(linuxSlotSiteConfig.WebSockets)
Expand Down Expand Up @@ -968,9 +966,7 @@ func ExpandSiteConfigWindowsWebAppSlot(siteConfig []SiteConfigWindowsWebAppSlot,
expanded.RemoteDebuggingVersion = pointer.To(winSlotSiteConfig.RemoteDebuggingVersion)
}

if metadata.ResourceData.HasChange("site_config.0.use_32_bit_worker") {
expanded.Use32BitWorkerProcess = pointer.To(winSlotSiteConfig.Use32BitWorker)
}
expanded.Use32BitWorkerProcess = pointer.To(winSlotSiteConfig.Use32BitWorker)

if metadata.ResourceData.HasChange("site_config.0.websockets_enabled") {
expanded.WebSocketsEnabled = pointer.To(winSlotSiteConfig.WebSockets)
Expand Down

0 comments on commit 1c91f14

Please sign in to comment.