File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
examples/tencentcloud-clb Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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
174174data "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
178178data "tencentcloud_clb_instances" "instances" {
You can’t perform that action at this time.
0 commit comments