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
Now updating the pool resource will cause the error as it is in use by the virtual server http
Expected Behavior
The pool is successfully modified with the changes.
Actual Behavior
An error is thrown in Terraform
Terraform plan
# module.production.module.netbox.bigip_ltm_pool.pool will be updated in-place
~ resource "bigip_ltm_pool" "pool" {
id = "/Common/test_pool"
~ load_balancing_mode = "round-robin" -> "least-connections"
name = "/Common/test_pool"
~ service_down_action = "none" -> "reselect"
# (7 unchanged attributes hidden)
}
Error
│ Error: 01070265:3: The Pool (/Common/test_pool) cannot be deleted because it is in use by a Virtual Server (/Common/test_http).
│
│ with module.production.module.test.bigip_ltm_pool.pool,
│ on modules/test_http/main.tf line 19, in resource "bigip_ltm_pool" "pool":
│ 19: resource "bigip_ltm_pool" "pool" {
The text was updated successfully, but these errors were encountered:
$ terraform plan -out poolbigip_ltm_monitor.monitor: Refreshing state... [id=/Common/test_http_monitor]bigip_ltm_pool.pool: Refreshing state... [id=/Common/test_pool]bigip_ltm_virtual_server.http: Refreshing state... [id=/Common/test_http]Terraform used the selected providers to generate the following execution plan.Resource actions are indicated with the following symbols: ~ update in-placeTerraform will perform the following actions: # bigip_ltm_pool.pool will be updated in-place ~ resource "bigip_ltm_pool" "pool" { id = "/Common/test_pool" ~ load_balancing_mode = "least-connections-member" -> "ratio-member" name = "/Common/test_pool" # (7 unchanged attributes hidden) }Plan: 0 to add, 1 to change, 0 to destroy.───────────────────────────────────────────────────────────────────────────────Saved the plan to: poolTo perform exactly these actions, run the following command to apply: terraform apply "pool"
$ terraform apply "pool"bigip_ltm_pool.pool: Modifying... [id=/Common/test_pool]bigip_ltm_pool.pool: Modifications complete after 0s [id=/Common/test_pool]
Environment
Summary
When updating a
bigip_ltm_pool
, Terraform says in place update but an error is returned saying the pool can't be deleted as it is in use.Steps To Reproduce
Now updating the pool resource will cause the error as it is in use by the virtual server http
Expected Behavior
The pool is successfully modified with the changes.
Actual Behavior
An error is thrown in Terraform
Terraform plan
Error
The text was updated successfully, but these errors were encountered: