Closed CHS-OTC closed 2 years ago
@CHS-OTC for some reason I wasn't able to reproduce the issue, can you please try it again?
@CHS-OTC please comment if it still reproduces, closing for now
Hi there, i still get this with versions as follows
Terraform v1.1.3
on linux_amd64
+ provider registry.terraform.io/terraform-providers/opentelekomcloud v1.29.2
Terraform will perform the following actions:
...
# opentelekomcloud_lb_listener_v3.on will be updated in-place
~ resource "opentelekomcloud_lb_listener_v3" "one" {
- default_pool_id = "4d3bcc1b-be2e-4231-a004-46f468c34c67" -> null
id = "dcb0f031-e434-4bdf-8b74-e68b5ba926f5"
name = "one"
tags = {}
# (11 unchanged attributes hidden)
# (1 unchanged block hidden)
}
...
Plan: 0 to add, 1 to change, 0 to destroy.
Hi,
there is a difference in behaviour between ELBv2 and ELBv3 in regards to backend groups in the listeners.
If a listener is created via TF without backend server group and assigning an backend server group afterwards via GUI, there is no issue with ELBv2. But with ELBv3 it tries to replace the value "default_pool_id" with null.
This can also be replicated by first assigning a default_pool_id with a pool created via TF and then to remove the parameter default_pool_id from the TF listener configuation.
Terraform provider version
Terraform v1.1.0 on windows_amd64
Affected Resource(s)
opentelekomcloud_lb_listener_v3
Debug Output/Panic Output
Steps to Reproduce
terraform apply
with ELBv3 ListenerExpected Behavior
no changes should be detected. For ELBv2 that is the case.
Actual Behavior