@@ -287,7 +287,7 @@ func resourceTencentCloudClbInstanceCreate(d *schema.ResourceData, meta interfac
287287 if tags := helper .GetTags (d , "tags" ); len (tags ) > 0 {
288288 tcClient := meta .(* TencentCloudClient ).apiV3Conn
289289 tagService := & TagService {client : tcClient }
290- resourceName := BuildTagResourceName ("clb" , "loadbalancerid " , tcClient .Region , d .Id ())
290+ resourceName := BuildTagResourceName ("clb" , "clb " , tcClient .Region , d .Id ())
291291 if err := tagService .ModifyTags (ctx , resourceName , tags , nil ); err != nil {
292292 return err
293293 }
@@ -338,7 +338,7 @@ func resourceTencentCloudClbInstanceRead(d *schema.ResourceData, meta interface{
338338
339339 tcClient := meta .(* TencentCloudClient ).apiV3Conn
340340 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 ())
342342 if err != nil {
343343 return err
344344 }
@@ -470,7 +470,7 @@ func resourceTencentCloudClbInstanceUpdate(d *schema.ResourceData, meta interfac
470470
471471 tcClient := meta .(* TencentCloudClient ).apiV3Conn
472472 tagService := & TagService {client : tcClient }
473- resourceName := BuildTagResourceName ("clb" , "loadbalancerid " , tcClient .Region , d .Id ())
473+ resourceName := BuildTagResourceName ("clb" , "clb " , tcClient .Region , d .Id ())
474474 err := tagService .ModifyTags (ctx , resourceName , replaceTags , deleteTags )
475475 if err != nil {
476476 return err
0 commit comments