-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rewrite LB for full implementation #37
Comments
Trying to make use of new resources available as of provider.tencentcloud v1.15.0 and encountered some issues:
According to the documentation for tencentcloud_clb_listener, this parameter is optional and the default is 'WRR':
I suspect these are largely documentation issues. |
Hello @lubars |
|
refer: https://www.terraform.io/docs/providers/tencentcloud/r/clb_listener_rule.html#health_check_http_path |
be equal to AWS
|
|
The example may help to configure. |
Hello @lubars |
Hi @likexian, I am having success with By the way, docs for
However looking at the console, it appears that the default weight is '0'. |
Also, have you given any thought to making the target of
But maybe I've missed something simpler. |
Thank you @lubars |
You are doing the right way, I don't have a simpler too. However you can make it as follow: resource "tencentcloud_clb_attachment" "default" {
listener_id = "${tencentcloud_clb_listener.default.id}"
clb_id = "${tencentcloud_clb_instance.default.id}"
dynamic "targets" {
for_each = tencentcloud_instance.default
content {
instance_id = targets.value.id
port = var.ForwardPort
}
}
} |
The weight comes up in the console as '0' if not specified in the Terraform template, which results in no traffic being directed at that target; as soon as I set it to '10' in the template (or override it in the console), traffic starts flowing. So I think you need to look again at the Terraform default. |
Sorry @lubars |
Hello @lubars |
@likexian It looks like the behavior now matches the documentation. It would be nice if |
Hello @lubars , thank you for your feedback, |
Hello, |
Currently LB is not useable.
The text was updated successfully, but these errors were encountered: