Open rseuchter opened 4 years ago
I am also facing this issue. Terraform does not seem to pick up the changes in the health_check
block
Hey, we also saw the same issue with NLB and UDP listener while changing target group health check params using version 3.42.0. Any update on this?
same issue here with 3.55.0 , we had a healthcheck block, we removed it from terraform , but terraform does not remove it
same issue here with 3.55.0 , we had a healthcheck block, we removed it from terraform , but terraform does not remove it
Same for me on 4.55.0. I think we should report it as a separate issue, because it is hard to find this one (as it is not exactly the same and not sounds definitely related).
It is currently impossible to expose functionality to enable/disable health_check for a module.
Similar issue for v5.30. If I set "health_check" block in "aws_lb_target_group" and run apply then it is applied, but when I delete that "health_check" code block in "aws_lb_target_group", apply shows "no changes".
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
N/A
Panic Output
N/A
Expected Behavior
Terraform should modify (or if absolutely necessary destroy and re-create) a health check when setting
interval
from 10 to 30 or vice versa.Actual Behavior
Terraform
plan
suggests an in-place update when going from 10 to 30 (or vice versa). A subsequentapply
suggests:However, the target group is not updated. (Fun fact: It cannot be updated through the console either.)
While the API documentation of ModifyTargetGroup says about
HealthCheckIntervalSeconds
that "With Network Load Balancers, you can't modify this setting." there isn't even a load balancer to begin with.Steps to Reproduce
terraform apply
interval
argument to 30terraform apply
Important Factoids
N/A
References
Similar to
4150
4780