Skip to content

Commit 54e1a1b

Browse files
authored
fix(cls): [138805605] moidfy type switch (#3255)
* fix(cls): [138805605] moidfy type switch * fix: add changelog * fix: modify type * fix: modify type
1 parent 799ecc6 commit 54e1a1b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changelog/3255.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_cls_config_extra: Fix the problem of failure to modify type.
3+
```

tencentcloud/services/cls/resource_tc_cls_config_extra.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ func resourceTencentCloudClsConfigExtraUpdate(d *schema.ResourceData, meta inter
930930
request.TopicId = helper.String(v.(string))
931931
}
932932
}
933-
if d.HasChange("type") {
933+
if d.HasChange("type") || d.HasChange("container_file") || d.HasChange("container_stdout") {
934934
if v, ok := d.GetOk("type"); ok {
935935
request.Type = helper.String(v.(string))
936936
}

0 commit comments

Comments
 (0)