azurerm_linux_web_app_slot
ignores worker_count
parameter in site_config block
#24678
Closed
1 task done
Labels
Milestone
Is there an existing issue for this?
Community Note
Terraform Version
1.7.1
AzureRM Provider Version
3.89.0
Affected Resource(s)/Data Source(s)
azurerm_linux_web_app_slot
Terraform Configuration Files
Debug Output/Panic Output
PUT request to Azure for the slot:
Payload:
Expected Behaviour
The resulting
azurerm_linux_web_app_slot
in Azure should have aworker_count
of 2.Actual Behaviour
The resulting
azurerm_linux_web_app_slot
in Azure has a defaultworker_count
of 1:When running
terraform plan
directly after theapply
it will always show differences:Steps to Reproduce
terraform apply
terraform plan
worker_count
Important Factoids
Notice the
NumberOfWorkers
parameter is missing from thesiteConfig
block in the debug output. I think the missing parameter is the cause of this issue. I've created PR #24515 which solves the issue in my testing.References
Documentation:
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/linux_web_app_slot#worker_count
Related PR:
#24515
The text was updated successfully, but these errors were encountered: