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
# Copy-paste your Terraform configurations here - for large Terraform configs,# please use a service like Dropbox and share a link to the ZIP file. For# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorpresource"tencentcloud_clb_listener""echosvr" {
clb_id="lb-3qhrxe1v"listener_name="echosvr"port=10000protocol="UDP"target_type="NODE"health_check_switch=truehealth_check_time_out=2health_check_interval_time=5health_check_health_num=3health_check_unhealth_num=3health_check_type="PING"health_check_context_type="TEXT"
}
Debug Output
Error: "health_check_type" must contain a valid string value must in array []string{"CUSTOM", "TCP", "HTTP"}, got "PING"
Panic Output
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
#0000
The text was updated successfully, but these errors were encountered:
Reference to Cloud API Document , the Health Check Type only available for TCP, HTTP and CUSTOM. Argument Validation here is consistent with the Cloud API.
@newhandLiu Sorry to reply so late.
We are planning to remove the validation of health check type and port.
To learn about more details, recommend to submit a ticket to Cloud Load Balancer team to work out the reason of the inconsistent between console (your snapshot) and API constrait.
Community Note
Terraform Version
terraform -v
Terraform v1.0.6
on darwin_amd64
Affected Resource(s)
Terraform Configuration Files
Debug Output
Error: "health_check_type" must contain a valid string value must in array []string{"CUSTOM", "TCP", "HTTP"}, got "PING"
Panic Output
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: