@@ -286,7 +286,7 @@ func resourceTencentCloudClbInstanceCreate(d *schema.ResourceData, meta interfac
286286 if tags := helper .GetTags (d , "tags" ); len (tags ) > 0 {
287287 tcClient := meta .(* TencentCloudClient ).apiV3Conn
288288 tagService := & TagService {client : tcClient }
289- resourceName := BuildTagResourceName ("clb" , "loadbalancerid " , tcClient .Region , d .Id ())
289+ resourceName := BuildTagResourceName ("clb" , "clb " , tcClient .Region , d .Id ())
290290 if err := tagService .ModifyTags (ctx , resourceName , tags , nil ); err != nil {
291291 return err
292292 }
@@ -337,7 +337,7 @@ func resourceTencentCloudClbInstanceRead(d *schema.ResourceData, meta interface{
337337
338338 tcClient := meta .(* TencentCloudClient ).apiV3Conn
339339 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 ())
341341 if err != nil {
342342 return err
343343 }
@@ -469,7 +469,7 @@ func resourceTencentCloudClbInstanceUpdate(d *schema.ResourceData, meta interfac
469469
470470 tcClient := meta .(* TencentCloudClient ).apiV3Conn
471471 tagService := & TagService {client : tcClient }
472- resourceName := BuildTagResourceName ("clb" , "loadbalancerid " , tcClient .Region , d .Id ())
472+ resourceName := BuildTagResourceName ("clb" , "clb " , tcClient .Region , d .Id ())
473473 err := tagService .ModifyTags (ctx , resourceName , replaceTags , deleteTags )
474474 if err != nil {
475475 return err
0 commit comments