Skip to content

Commit ab46153

Browse files
committed
add
1 parent 3ef7742 commit ab46153

5 files changed

+2
-6
lines changed

tencentcloud/services/clb/resource_tc_clb_target_group_attachment.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ resource "tencentcloud_clb_target_group_attachment" "example" {
6868
target_group_id = tencentcloud_clb_target_group.example.id
6969
listener_id = tencentcloud_clb_listener.example.listener_id
7070
rule_id = tencentcloud_clb_listener_rule.example.rule_id
71-
weight = 10
7271
}
7372
```
7473

tencentcloud/services/clb/resource_tc_clb_target_group_instance_attachment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func ResourceTencentCloudClbTGAttachmentInstance() *schema.Resource {
5050
"weight": {
5151
Type: schema.TypeInt,
5252
Required: true,
53-
Description: "The weight of the target group instance. Value range: 0-100.",
53+
Description: "Weight of target group instance v2 target group needs to be configured with weight. When calling CreateTargetGroup interface to create target group, either this parameter or Weight parameter in the creation interface must be filled in. Value range: 0-100.",
5454
},
5555
},
5656
}

tencentcloud/services/clb/resource_tc_clb_target_group_instance_attachment.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ resource "tencentcloud_clb_target_group_instance_attachment" "example" {
7575
target_group_id = tencentcloud_clb_target_group.example.id
7676
bind_ip = tencentcloud_instance.example.private_ip
7777
port = 8080
78-
weight = 10
7978
}
8079
```
8180

website/docs/r/clb_target_group_attachment.html.markdown

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ resource "tencentcloud_clb_target_group_attachment" "example" {
7979
target_group_id = tencentcloud_clb_target_group.example.id
8080
listener_id = tencentcloud_clb_listener.example.listener_id
8181
rule_id = tencentcloud_clb_listener_rule.example.rule_id
82-
weight = 10
8382
}
8483
```
8584

website/docs/r/clb_target_group_instance_attachment.html.markdown

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ resource "tencentcloud_clb_target_group_instance_attachment" "example" {
8686
target_group_id = tencentcloud_clb_target_group.example.id
8787
bind_ip = tencentcloud_instance.example.private_ip
8888
port = 8080
89-
weight = 10
9089
}
9190
```
9291

@@ -97,7 +96,7 @@ The following arguments are supported:
9796
* `bind_ip` - (Required, String, ForceNew) The Intranet IP of the target group instance.
9897
* `port` - (Required, Int, ForceNew) The port of the target group instance, fully listening to the target group does not support passing this field.
9998
* `target_group_id` - (Required, String, ForceNew) Target group ID.
100-
* `weight` - (Required, Int) The weight of the target group instance. Value range: 0-100.
99+
* `weight` - (Required, Int) Weight of target group instance v2 target group needs to be configured with weight. When calling CreateTargetGroup interface to create target group, either this parameter or Weight parameter in the creation interface must be filled in. Value range: 0-100.
101100

102101
## Attributes Reference
103102

0 commit comments

Comments
 (0)