@@ -287,7 +287,7 @@ func resourceTencentCloudClbInstanceCreate(d *schema.ResourceData, meta interfac
287
287
if tags := helper .GetTags (d , "tags" ); len (tags ) > 0 {
288
288
tcClient := meta .(* TencentCloudClient ).apiV3Conn
289
289
tagService := & TagService {client : tcClient }
290
- resourceName := BuildTagResourceName ("clb" , "loadbalancerid " , tcClient .Region , d .Id ())
290
+ resourceName := BuildTagResourceName ("clb" , "clb " , tcClient .Region , d .Id ())
291
291
if err := tagService .ModifyTags (ctx , resourceName , tags , nil ); err != nil {
292
292
return err
293
293
}
@@ -338,7 +338,7 @@ func resourceTencentCloudClbInstanceRead(d *schema.ResourceData, meta interface{
338
338
339
339
tcClient := meta .(* TencentCloudClient ).apiV3Conn
340
340
tagService := & TagService {client : tcClient }
341
- tags , err := tagService .DescribeResourceTags (ctx , "clb" , "loadbalancerid " , tcClient .Region , d .Id ())
341
+ tags , err := tagService .DescribeResourceTags (ctx , "clb" , "clb " , tcClient .Region , d .Id ())
342
342
if err != nil {
343
343
return err
344
344
}
@@ -470,7 +470,7 @@ func resourceTencentCloudClbInstanceUpdate(d *schema.ResourceData, meta interfac
470
470
471
471
tcClient := meta .(* TencentCloudClient ).apiV3Conn
472
472
tagService := & TagService {client : tcClient }
473
- resourceName := BuildTagResourceName ("clb" , "loadbalancerid " , tcClient .Region , d .Id ())
473
+ resourceName := BuildTagResourceName ("clb" , "clb " , tcClient .Region , d .Id ())
474
474
err := tagService .ModifyTags (ctx , resourceName , replaceTags , deleteTags )
475
475
if err != nil {
476
476
return err
0 commit comments