Comments (3)
The documentation for tencentcloud_clb_listener_rule attribute health_check_httpd_code is unclear:
health_check_http_code - (Optional) HTTP Status Code. The default is 31 and value range is 1-31. '0b0001' means the return value '1xx' is health. '0b0010' means the return value '2xx' is health. '0b0100' means the return value '3xx' is health. '0b1000' means the return value '4xx' is health. 0b10000 means the return value '5xx' is health. If you want multiple return codes to indicate health, need to add the corresponding values. NOTES: The 'HTTP' health check of the 'TCP' listener only supports specifying one health check status code. NOTES: Only supports listeners of 'HTTP' and 'HTTPS' protocol.
- I get errors using "0b0010" or 0b0010; can I just use "2"?
- The example at the top of the page, "http_1xx", appears to be invalid:
Error: Incorrect attribute value type
on ../../ICM/etc/Terraform/Tencent/Instance/infrastructure.tf line 500, in resource "tencentcloud_clb_listener_rule" "default":
500: health_check_http_code = "http_1xx"
Inappropriate value for attribute "health_check_http_code": a number is
required.
hi lubars, for the first question, using '2' is the right way. '0b0010' is an explanation in the description. The description does cause ambiguity,so it will be modified in the next version 1.19.0. For the second question, the 'http_1xx' is an error in this example, it will be modified in the next version too. Thanks for your comments.
from terraform-provider-tencentcloud.
Hello @lubars
This has been fixed in v1.19.0, would you please have a try?
Thank you.
from terraform-provider-tencentcloud.
Hello,
This issue will be closed, if you have any problems, please open a new issue.
from terraform-provider-tencentcloud.
Related Issues (20)
- Bug in documentation for TKE kubernetes_node_pool resource HOT 2
- bug on security_group_lite_rule
- Cannot create CVM with CLOUD_HSSD
- Failed to create tencentcloud_dc_gateway_ccn_route resource
- cvm key_name err HOT 1
- Import sfc function get a error "Cannot import non-existent remote object"
- COS 可以支持元数据加速吗
- Support tencentcloud_private_dns_zone data source
- Invalid mem_size in tencentcloud_redis_instance HOT 1
- After updating to 1.81.70, TencentCloud returns SDKError HOT 1
- Creation of tencentcloud_vod_sub_application is successful, but terraform returns invalid vod user HOT 1
- 使用 tencentcloud_security_groups 数据源资源获取的安全组id错误 HOT 2
- Link cvm to clb backend, an error "instance launch failed" throw HOT 1
- 1.81.77 incompatibility/broken ? HOT 3
- tencentcloud_cbs_storage_attachment 支持挂载存储后指定挂载路径及格式化文件系统
- tencentcloud_tcr_instance需要支持指定region以及开启COS多AZ特性 HOT 1
- 支持修改更新 TKE eniipamd 组件的全局配置 HOT 2
- TKE添加节点或者节点池,支持自定义脚本功能 HOT 1
- TKE查询集群节点信息支持Limit可配置或者默认值设为100 HOT 2
- 告警规则tencentcloud_monitor_alarm_policy不支持复合指标的创建
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-tencentcloud.