Skip to content

Commit e677165

Browse files
author
“guojunchu”
committed
update doc
1 parent 660aa65 commit e677165

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/tencentcloud-clb/main.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,12 @@ resource "tencentcloud_clb_listener_rule" "rule_basic" {
153153
target_type = "TARGETGROUP"
154154
}
155155

156-
resource "tencentcloud_clb_targetgroup" "test"{
156+
resource "tencentcloud_clb_target_group" "test"{
157157
target_group_name = "test-target-keep-1"
158158
}
159159

160-
resource "tencentcloud_clb_tg_instance_attachment" "test"{
161-
target_group_id = tencentcloud_clb_targetgroup.test.id
160+
resource "tencentcloud_clb_target_group_instance_attachment" "test"{
161+
target_group_id = tencentcloud_clb_target_group.test.id
162162
bind_ip = "172.16.48.18"
163163
port = 222
164164
weight = 3
@@ -168,11 +168,11 @@ resource "tencentcloud_clb_target_group_attachment" "group" {
168168
clb_id = tencentcloud_clb_instance.clb_basic.id
169169
listener_id = tencentcloud_clb_listener.listener_basic.id
170170
rule_id = tencentcloud_clb_listener_rule.rule_basic.id
171-
targrt_group_id = tencentcloud_clb_targetgroup.test.id
171+
targrt_group_id = tencentcloud_clb_target_group.test.id
172172
}
173173

174174
data "tencentcloud_clb_target_groups" "target_group_info_id" {
175-
target_group_id = tencentcloud_clb_targetgroup.test.id
175+
target_group_id = tencentcloud_clb_target_group.test.id
176176
}
177177

178178
data "tencentcloud_clb_instances" "instances" {

0 commit comments

Comments
 (0)