Skip to content

Commit 0c1c75c

Browse files
authored
fix(cls): [116280037]support hot_period, describes params (#2545)
* fix/cls * fix/cls * fix/cls * add
1 parent f0f5c77 commit 0c1c75c

File tree

18 files changed

+5098
-2190
lines changed

18 files changed

+5098
-2190
lines changed

.changelog/2545.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_topic: support hot_period, describes params
3+
```

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ require (
4545
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ckafka v1.0.748
4646
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb v1.0.860
4747
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit v1.0.544
48-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.711
49-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.860
48+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.865
49+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.865
5050
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.624
5151
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cwp v1.0.762
5252
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb v1.0.692
@@ -82,7 +82,7 @@ require (
8282
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssl v1.0.822
8383
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssm v1.0.691
8484
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts v1.0.524
85-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag v1.0.677
85+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag v1.0.865
8686
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tat v1.0.634
8787
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcaplusdb v1.0.199
8888
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcm v1.0.547

go.sum

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,8 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit v1.0.544 h1:
874874
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit v1.0.544/go.mod h1:c37rIdL3LrJXYwrfp9c8L4MabTqKIZUe1xvnWhN75oc=
875875
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.711 h1:v6ffPkv3kmT6bC0d3JLVVJsh61zdvaLJZ5RHwmKNBHk=
876876
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.711/go.mod h1:oArXkl0Gm9hpK+mfoIjSGEuG8FLkcOAEeB0LfyIQq/Y=
877+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.865 h1:ZdUE7EeBF4NlkB/WtllEQJTmrC9AJK67C+csBzmlHYk=
878+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.865/go.mod h1:SKeQkoAkTqqqCLjNtzCagsCiaCVwvcHdjkH6S0RJluo=
877879
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.414/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y=
878880
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.486/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y=
879881
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.524/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y=
@@ -965,6 +967,8 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.859 h1:XXpy
965967
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.859/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
966968
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.860 h1:d5/YwGX6b5YgFU/0thsbs5aBp4aJJXBi7JyU1JHAaw0=
967969
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.860/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
970+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.865 h1:LcUqBlKC4j15LhT303yQDX/XxyHG4haEQqbHgZZA4SY=
971+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.865/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
968972
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.624 h1:nEZqsoqt1pEoaP9JjkHQy3/H00suCfzlHW1qOm2nYD8=
969973
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.624/go.mod h1:+TXSVyeKwt1IhZRqKPbTREteBcP+K07Q846/ilNzLWA=
970974
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cwp v1.0.762 h1:2egy69SP/wPsmnfozcQVZ6tUY6F6N/TpEe/7xtXrc/8=
@@ -1051,6 +1055,8 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts v1.0.524 h1:Hda8mBE
10511055
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts v1.0.524/go.mod h1:DkzQ5MJmuv5iHgQotrsSzfvP4D1zwiWLRR4gqLK/i/w=
10521056
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag v1.0.677 h1:dQDIafZauF/YoQQaY8qk5YCIBFZmLPb1kUgCc+WK7wo=
10531057
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag v1.0.677/go.mod h1:IAEAhNq0rp2Wyrjvti/MQeDPuPQ5ohriltA9ZSDxeMM=
1058+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag v1.0.865 h1:ciRqMS/za/SA4V089eMdp4LeWlY+GRcfSh+6danS+2Q=
1059+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag v1.0.865/go.mod h1:w1XYi8mvbVbFulWAvWFGmFiYIVASBBmyBis70tK4wIU=
10541060
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tat v1.0.634 h1:GJDzXxKloZeM8fN+qlIspPnZbUw1lOZGe7jGqfFbQMM=
10551061
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tat v1.0.634/go.mod h1:yX1elLeYvjmtPvgBVCOyYxyy1u2XEKfXaEiZXIWRCKw=
10561062
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcaplusdb v1.0.199 h1:i17zUWDw6iN7EMkQMGDXIXpur73vwUvbZrX4M5S0xhQ=

tencentcloud/services/cls/resource_tc_cls_topic.go

Lines changed: 68 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -63,24 +63,34 @@ func ResourceTencentCloudClsTopic() *schema.Resource {
6363
Optional: true,
6464
Computed: true,
6565
Description: "Log topic storage class. Valid values: hot: real-time storage; cold: offline storage. Default value: hot. If cold is passed in, " +
66-
"please contact the customer service to add the log topic to the allowlist first..",
66+
"please contact the customer service to add the log topic to the allowlist first.",
6767
},
6868
"period": {
6969
Type: schema.TypeInt,
7070
Optional: true,
7171
Computed: true,
7272
Description: "Lifecycle in days. Value range: 1~366. Default value: 30.",
7373
},
74+
"hot_period": {
75+
Type: schema.TypeInt,
76+
Optional: true,
77+
Computed: true,
78+
Description: "0: Turn off log sinking. Non 0: The number of days of standard storage after enabling log settling. HotPeriod needs to be greater than or equal to 7 and less than Period. Only effective when StorageType is hot.",
79+
},
80+
"describes": {
81+
Type: schema.TypeString,
82+
Optional: true,
83+
Description: "Log Topic Description.",
84+
},
7485
},
7586
}
7687
}
7788

7889
func resourceTencentCloudClsTopicCreate(d *schema.ResourceData, meta interface{}) error {
7990
defer tccommon.LogElapsed("resource.tencentcloud_cls_topic.create")()
8091

81-
logId := tccommon.GetLogId(tccommon.ContextNil)
82-
8392
var (
93+
logId = tccommon.GetLogId(tccommon.ContextNil)
8494
request = cls.NewCreateTopicRequest()
8595
response *cls.CreateTopicResponse
8696
)
@@ -93,7 +103,7 @@ func resourceTencentCloudClsTopicCreate(d *schema.ResourceData, meta interface{}
93103
request.TopicName = helper.String(v.(string))
94104
}
95105

96-
if v, ok := d.GetOk("partition_count"); ok {
106+
if v, ok := d.GetOkExists("partition_count"); ok {
97107
request.PartitionCount = helper.IntInt64(v.(int))
98108
}
99109

@@ -112,18 +122,28 @@ func resourceTencentCloudClsTopicCreate(d *schema.ResourceData, meta interface{}
112122
request.AutoSplit = helper.Bool(v.(bool))
113123
}
114124

115-
if v, ok := d.GetOk("max_split_partitions"); ok {
125+
if v, ok := d.GetOkExists("max_split_partitions"); ok {
116126
request.MaxSplitPartitions = helper.IntInt64(v.(int))
117127
}
118128

119129
if v, ok := d.GetOk("storage_type"); ok {
120130
request.StorageType = helper.String(v.(string))
121131
}
122132

123-
if v, ok := d.GetOk("period"); ok {
133+
if v, ok := d.GetOkExists("period"); ok {
124134
request.Period = helper.IntInt64(v.(int))
125135
}
126136

137+
if v, ok := d.GetOkExists("hot_period"); ok {
138+
request.HotPeriod = helper.IntUint64(v.(int))
139+
}
140+
141+
if v, ok := d.GetOk("describes"); ok {
142+
request.Describes = helper.String(v.(string))
143+
} else {
144+
request.Describes = helper.String("")
145+
}
146+
127147
err := resource.Retry(tccommon.WriteRetryTimeout, func() *resource.RetryError {
128148
result, e := meta.(tccommon.ProviderMeta).GetAPIV3Conn().UseClsClient().CreateTopic(request)
129149
if e != nil {
@@ -132,6 +152,12 @@ func resourceTencentCloudClsTopicCreate(d *schema.ResourceData, meta interface{}
132152
log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n",
133153
logId, request.GetAction(), request.ToJsonString(), result.ToJsonString())
134154
}
155+
156+
if result == nil {
157+
e = fmt.Errorf("create cls topic failed")
158+
return resource.NonRetryableError(e)
159+
}
160+
135161
response = result
136162
return nil
137163
})
@@ -150,14 +176,14 @@ func resourceTencentCloudClsTopicRead(d *schema.ResourceData, meta interface{})
150176
defer tccommon.LogElapsed("resource.tencentcloud_cls_topic.read")()
151177
defer tccommon.InconsistentCheck(d, meta)()
152178

153-
logId := tccommon.GetLogId(tccommon.ContextNil)
154-
ctx := context.WithValue(context.TODO(), tccommon.LogIdKey, logId)
155-
service := ClsService{client: meta.(tccommon.ProviderMeta).GetAPIV3Conn()}
156-
157-
id := d.Id()
179+
var (
180+
logId = tccommon.GetLogId(tccommon.ContextNil)
181+
ctx = context.WithValue(context.TODO(), tccommon.LogIdKey, logId)
182+
service = ClsService{client: meta.(tccommon.ProviderMeta).GetAPIV3Conn()}
183+
id = d.Id()
184+
)
158185

159186
topic, err := service.DescribeClsTopicById(ctx, id)
160-
161187
if err != nil {
162188
return err
163189
}
@@ -175,36 +201,42 @@ func resourceTencentCloudClsTopicRead(d *schema.ResourceData, meta interface{})
175201
for _, tag := range topic.Tags {
176202
tags[*tag.Key] = *tag.Value
177203
}
204+
178205
_ = d.Set("tags", tags)
179206
_ = d.Set("auto_split", topic.AutoSplit)
180207
_ = d.Set("max_split_partitions", topic.MaxSplitPartitions)
181208
_ = d.Set("storage_type", topic.StorageType)
182209
_ = d.Set("period", topic.Period)
210+
_ = d.Set("hot_period", topic.HotPeriod)
211+
_ = d.Set("describes", topic.Describes)
183212

184213
return nil
185214
}
186215

187216
func resourceTencentCloudClsTopicUpdate(d *schema.ResourceData, meta interface{}) error {
188217
defer tccommon.LogElapsed("resource.tencentcloud_cls_topic.update")()
189-
logId := tccommon.GetLogId(tccommon.ContextNil)
190-
request := cls.NewModifyTopicRequest()
191218

192-
request.TopicId = helper.String(d.Id())
219+
var (
220+
logId = tccommon.GetLogId(tccommon.ContextNil)
221+
request = cls.NewModifyTopicRequest()
222+
id = d.Id()
223+
)
224+
225+
immutableArgs := []string{"partition_count", "storage_type"}
193226

194-
if d.HasChange("partition_count") {
195-
return fmt.Errorf("`partition_count` do not support change now.")
227+
for _, v := range immutableArgs {
228+
if d.HasChange(v) {
229+
return fmt.Errorf("argument `%s` cannot be changed", v)
230+
}
196231
}
197232

198-
if d.HasChange("storage_type") {
199-
return fmt.Errorf("`storage_type` do not support change now.")
200-
}
233+
request.TopicId = helper.String(id)
201234

202235
if d.HasChange("topic_name") {
203236
request.TopicName = helper.String(d.Get("topic_name").(string))
204237
}
205238

206239
if d.HasChange("tags") {
207-
208240
tags := d.Get("tags").(map[string]interface{})
209241
request.Tags = make([]*cls.Tag, 0, len(tags))
210242
for k, v := range tags {
@@ -229,6 +261,14 @@ func resourceTencentCloudClsTopicUpdate(d *schema.ResourceData, meta interface{}
229261
request.Period = helper.IntInt64(d.Get("period").(int))
230262
}
231263

264+
if d.HasChange("hot_period") {
265+
request.HotPeriod = helper.IntUint64(d.Get("hot_period").(int))
266+
}
267+
268+
if d.HasChange("describes") {
269+
request.Describes = helper.String(d.Get("describes").(string))
270+
}
271+
232272
err := resource.Retry(tccommon.WriteRetryTimeout, func() *resource.RetryError {
233273
result, e := meta.(tccommon.ProviderMeta).GetAPIV3Conn().UseClsClient().ModifyTopic(request)
234274
if e != nil {
@@ -237,6 +277,7 @@ func resourceTencentCloudClsTopicUpdate(d *schema.ResourceData, meta interface{}
237277
log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n",
238278
logId, request.GetAction(), request.ToJsonString(), result.ToJsonString())
239279
}
280+
240281
return nil
241282
})
242283

@@ -250,10 +291,12 @@ func resourceTencentCloudClsTopicUpdate(d *schema.ResourceData, meta interface{}
250291
func resourceTencentCloudClsTopicDelete(d *schema.ResourceData, meta interface{}) error {
251292
defer tccommon.LogElapsed("resource.tencentcloud_cls_topic.delete")()
252293

253-
logId := tccommon.GetLogId(tccommon.ContextNil)
254-
ctx := context.WithValue(context.TODO(), tccommon.LogIdKey, logId)
255-
service := ClsService{client: meta.(tccommon.ProviderMeta).GetAPIV3Conn()}
256-
id := d.Id()
294+
var (
295+
logId = tccommon.GetLogId(tccommon.ContextNil)
296+
ctx = context.WithValue(context.TODO(), tccommon.LogIdKey, logId)
297+
service = ClsService{client: meta.(tccommon.ProviderMeta).GetAPIV3Conn()}
298+
id = d.Id()
299+
)
257300

258301
if err := service.DeleteClsTopic(ctx, id); err != nil {
259302
return err

tencentcloud/services/cls/resource_tc_cls_topic.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,23 @@ Provides a resource to create a cls topic.
33
Example Usage
44

55
```hcl
6-
resource "tencentcloud_cls_topic" "topic" {
7-
topic_name = "topic"
8-
logset_id = "5cd3a17e-fb0b-418c-afd7-77b365397426"
6+
resource "tencentcloud_cls_logset" "example" {
7+
logset_name = "tf_example"
8+
tags = {
9+
"demo" = "test"
10+
}
11+
}
12+
13+
resource "tencentcloud_cls_topic" "example" {
14+
topic_name = "tf_example"
15+
logset_id = tencentcloud_cls_logset.example.id
916
auto_split = false
1017
max_split_partitions = 20
1118
partition_count = 1
12-
period = 10
19+
period = 30
1320
storage_type = "hot"
21+
describes = "Test Demo."
22+
hot_period = 10
1423
tags = {
1524
"test" = "test",
1625
}
@@ -22,5 +31,5 @@ Import
2231
cls topic can be imported using the id, e.g.
2332

2433
```
25-
$ terraform import tencentcloud_cls_topic.topic 2f5764c1-c833-44c5-84c7-950979b2a278
34+
$ terraform import tencentcloud_cls_topic.example 2f5764c1-c833-44c5-84c7-950979b2a278
2635
```

tencentcloud/services/cls/resource_tc_cls_topic_test.go

Lines changed: 50 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ func testSweepClsTopic(region string) error {
8080
return nil
8181
}
8282

83+
// go test -i; go test -test.run TestAccTencentCloudClsTopic_basic -v
8384
func TestAccTencentCloudClsTopic_basic(t *testing.T) {
8485
t.Parallel()
8586

@@ -90,15 +91,26 @@ func TestAccTencentCloudClsTopic_basic(t *testing.T) {
9091
{
9192
Config: testAccClsTopic,
9293
Check: resource.ComposeTestCheckFunc(
93-
testAccCheckClsTopicExists("tencentcloud_cls_topic.topic"),
94-
resource.TestCheckResourceAttr("tencentcloud_cls_topic.topic", "topic_name", "tf-topic-test"),
94+
testAccCheckClsTopicExists("tencentcloud_cls_topic.example"),
95+
resource.TestCheckResourceAttr("tencentcloud_cls_topic.example", "topic_name", "tf_example"),
96+
resource.TestCheckResourceAttr("tencentcloud_cls_topic.example", "storage_type", "hot"),
97+
resource.TestCheckResourceAttr("tencentcloud_cls_topic.example", "describes", "Test Demo."),
9598
),
9699
},
97100
{
98-
ResourceName: "tencentcloud_cls_topic.topic",
101+
ResourceName: "tencentcloud_cls_topic.example",
99102
ImportState: true,
100103
ImportStateVerify: true,
101104
},
105+
{
106+
Config: testAccClsTopicUpdate,
107+
Check: resource.ComposeTestCheckFunc(
108+
testAccCheckClsTopicExists("tencentcloud_cls_topic.example"),
109+
resource.TestCheckResourceAttr("tencentcloud_cls_topic.example", "topic_name", "tf_example_update"),
110+
resource.TestCheckResourceAttr("tencentcloud_cls_topic.example", "storage_type", "hot"),
111+
resource.TestCheckResourceAttr("tencentcloud_cls_topic.example", "describes", "Test Demo Update."),
112+
),
113+
},
102114
},
103115
})
104116
}
@@ -129,23 +141,49 @@ func testAccCheckClsTopicExists(n string) resource.TestCheckFunc {
129141
}
130142

131143
const testAccClsTopic = `
132-
resource "tencentcloud_cls_logset" "logset" {
133-
logset_name = "tf-topic-test"
144+
resource "tencentcloud_cls_logset" "example" {
145+
logset_name = "tf_example"
146+
tags = {
147+
"demo" = "test"
148+
}
149+
}
150+
151+
resource "tencentcloud_cls_topic" "example" {
152+
topic_name = "tf_example"
153+
logset_id = tencentcloud_cls_logset.example.id
154+
auto_split = false
155+
max_split_partitions = 20
156+
partition_count = 1
157+
period = 30
158+
storage_type = "hot"
159+
describes = "Test Demo."
160+
hot_period = 10
161+
tags = {
162+
"test" = "test",
163+
}
164+
}
165+
`
166+
167+
const testAccClsTopicUpdate = `
168+
resource "tencentcloud_cls_logset" "example" {
169+
logset_name = "tf_example"
134170
tags = {
135-
"test" = "test"
171+
"demo" = "test"
136172
}
137173
}
138174
139-
resource "tencentcloud_cls_topic" "topic" {
140-
auto_split = true
141-
logset_id = tencentcloud_cls_logset.logset.id
175+
resource "tencentcloud_cls_topic" "example" {
176+
topic_name = "tf_example_update"
177+
logset_id = tencentcloud_cls_logset.example.id
178+
auto_split = false
142179
max_split_partitions = 20
143180
partition_count = 1
144-
period = 10
181+
period = 30
145182
storage_type = "hot"
183+
describes = "Test Demo Update."
184+
hot_period = 15
146185
tags = {
147-
"test" = "test"
186+
"test" = "test",
148187
}
149-
topic_name = "tf-topic-test"
150188
}
151189
`

0 commit comments

Comments
 (0)