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