diff --git a/.changelog/3600.txt b/.changelog/3600.txt new file mode 100644 index 0000000000..ce918f0445 --- /dev/null +++ b/.changelog/3600.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +resource/tencentcloud_ckafka_instance: obsolete `rebalance_time` field +``` diff --git a/tencentcloud/services/ckafka/resource_tc_ckafka_instance.go b/tencentcloud/services/ckafka/resource_tc_ckafka_instance.go index 8390f515ec..9142b1a48d 100644 --- a/tencentcloud/services/ckafka/resource_tc_ckafka_instance.go +++ b/tencentcloud/services/ckafka/resource_tc_ckafka_instance.go @@ -252,6 +252,7 @@ func ResourceTencentCloudCkafkaInstance() *schema.Resource { "rebalance_time": { Type: schema.TypeInt, Optional: true, + Deprecated: "It has been deprecated from version 1.82.37.", Description: "Modification of the rebalancing time after upgrade.", }, "public_network": { diff --git a/website/docs/r/ckafka_instance.html.markdown b/website/docs/r/ckafka_instance.html.markdown index ab0faff67e..887c08efb8 100644 --- a/website/docs/r/ckafka_instance.html.markdown +++ b/website/docs/r/ckafka_instance.html.markdown @@ -148,7 +148,7 @@ The following arguments are supported: * `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. * `period` - (Optional, Int) Prepaid purchase time, such as 1, is one month. * `public_network` - (Optional, Int) Bandwidth of the public network. -* `rebalance_time` - (Optional, Int) Modification of the rebalancing time after upgrade. +* `rebalance_time` - (Optional, Int, **Deprecated**) It has been deprecated from version 1.82.37. Modification of the rebalancing time after upgrade. * `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). * `specifications_type` - (Optional, String) Specifications type of instance. Allowed values are `profession`, `premium`. Default is `profession`. * `subnet_id` - (Optional, String) Subnet id, it will be basic network if not set.