Skip to content

Commit bfa6d99

Browse files
authored
fix(ckafka): [128704280] tencentcloud_ckafka_instance obsolete rebalance_time field (#3600)
* add * add
1 parent 8625502 commit bfa6d99

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.changelog/3600.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_ckafka_instance: obsolete `rebalance_time` field
3+
```

tencentcloud/services/ckafka/resource_tc_ckafka_instance.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ func ResourceTencentCloudCkafkaInstance() *schema.Resource {
252252
"rebalance_time": {
253253
Type: schema.TypeInt,
254254
Optional: true,
255+
Deprecated: "It has been deprecated from version 1.82.37.",
255256
Description: "Modification of the rebalancing time after upgrade.",
256257
},
257258
"public_network": {

website/docs/r/ckafka_instance.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ The following arguments are supported:
148148
* `partition` - (Optional, Int) Partition Size. Its interval varies with bandwidth, and the input must be within the interval, which can be viewed through the control. If it is not within the interval, the plan will cause a change when first created.
149149
* `period` - (Optional, Int) Prepaid purchase time, such as 1, is one month.
150150
* `public_network` - (Optional, Int) Bandwidth of the public network.
151-
* `rebalance_time` - (Optional, Int) Modification of the rebalancing time after upgrade.
151+
* `rebalance_time` - (Optional, Int, **Deprecated**) It has been deprecated from version 1.82.37. Modification of the rebalancing time after upgrade.
152152
* `renew_flag` - (Optional, Int) Prepaid automatic renewal mark, 0 means the default state, the initial state, 1 means automatic renewal, 2 means clear no automatic renewal (user setting).
153153
* `specifications_type` - (Optional, String) Specifications type of instance. Allowed values are `profession`, `premium`. Default is `profession`.
154154
* `subnet_id` - (Optional, String) Subnet id, it will be basic network if not set.

0 commit comments

Comments
 (0)