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
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 "+1" or "me too" comments, 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
Why does changing the load_balancer_type value from (i.e.) BreadthFirst to DepthFirst cause a creation of a new resource ?
Documentation states: load_balancer_type - (Required) BreadthFirst load balancing distributes new user sessions across all available session hosts in the host pool. Possible values are BreadthFirst, DepthFirst and Persistent. Changing this forces a new resource to be created.
If you change this inside the portal, it just updates and does not create a new resource (as far as I can see)
@marcvalk-git thanks for opening this issue. This issue means that a change of load_balancer_type should not force the creation of a new resource, correct? If yes, this issue has been fixed by PR #20947 and released in v3.49.0 of the Terraform Provider. Could you upgrade the tf version to see if it has been resolved?
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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Why does changing the load_balancer_type value from (i.e.) BreadthFirst to DepthFirst cause a creation of a new resource ?
Documentation states:
load_balancer_type - (Required) BreadthFirst load balancing distributes new user sessions across all available session hosts in the host pool. Possible values are BreadthFirst, DepthFirst and Persistent. Changing this forces a new resource to be created.
If you change this inside the portal, it just updates and does not create a new resource (as far as I can see)
Terraform Version
1.4.2
AzureRM Provider Version
3.48.0
Affected Resource(s)/Data Source(s)
azurerm_virtual_desktop_host_pool
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
azurerm_virtual_desktop_host_pool.this must be replaced
-/+ resource "azurerm_virtual_desktop_host_pool" "this" {
~ id = "/subscriptions/***/resourceGroups/rg-001/providers/Microsoft.DesktopVirtualization/hostPools/vdpool" -> (known after apply)
~ load_balancer_type = "BreadthFirst" -> "DepthFirst" # forces replacement
name = "vdpool"
Actual Behaviour
azurerm_virtual_desktop_host_pool.this must be replaced
-/+ resource "azurerm_virtual_desktop_host_pool" "this" {
~ id = "/subscriptions/***/resourceGroups/rg-001/providers/Microsoft.DesktopVirtualization/hostPools/vdpool" -> (known after apply)
~ load_balancer_type = "BreadthFirst" -> "DepthFirst" # forces replacement
name = "vdpool"
# (10 unchanged attributes hidden)
}
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: