From 0a1c55f96a065d083c4eb0a2ed5a7f55f28a7b6e Mon Sep 17 00:00:00 2001 From: KGSN Date: Thu, 9 Dec 2021 11:32:30 +0800 Subject: [PATCH 1/2] fix: remove cbs type --- tencentcloud/resource_tc_cbs_storage.go | 2 +- website/docs/r/cbs_storage.html.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tencentcloud/resource_tc_cbs_storage.go b/tencentcloud/resource_tc_cbs_storage.go index ed3c1a681c..e98e0c1ac1 100644 --- a/tencentcloud/resource_tc_cbs_storage.go +++ b/tencentcloud/resource_tc_cbs_storage.go @@ -54,7 +54,7 @@ func resourceTencentCloudCbsStorage() *schema.Resource { Type: schema.TypeString, Required: true, ForceNew: true, - Description: "Type of CBS medium. Valid values: CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_TSSD and CLOUD_HSSD.", + Description: "Type of CBS medium. Valid values: CLOUD_PREMIUM, CLOUD_SSD, CLOUD_TSSD and CLOUD_HSSD.", }, "storage_size": { Type: schema.TypeInt, diff --git a/website/docs/r/cbs_storage.html.markdown b/website/docs/r/cbs_storage.html.markdown index 9cd4778c16..f0723ebfe0 100644 --- a/website/docs/r/cbs_storage.html.markdown +++ b/website/docs/r/cbs_storage.html.markdown @@ -35,7 +35,7 @@ The following arguments are supported: * `availability_zone` - (Required, ForceNew) The available zone that the CBS instance locates at. * `storage_name` - (Required) Name of CBS. The maximum length can not exceed 60 bytes. * `storage_size` - (Required) Volume of CBS, and unit is GB. If storage type is `CLOUD_SSD`, the size range is [100, 16000], and the others are [10-16000]. -* `storage_type` - (Required, ForceNew) Type of CBS medium. Valid values: CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_TSSD and CLOUD_HSSD. +* `storage_type` - (Required, ForceNew) Type of CBS medium. Valid values: CLOUD_PREMIUM, CLOUD_SSD, CLOUD_TSSD and CLOUD_HSSD. * `charge_type` - (Optional) The charge type of CBS instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. * `encrypt` - (Optional, ForceNew) Indicates whether CBS is encrypted. * `force_delete` - (Optional) Indicate whether to delete CBS instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. From a8fd3609635d61cb8cae359b0b1483ce5f3d7465 Mon Sep 17 00:00:00 2001 From: KGSN Date: Thu, 9 Dec 2021 14:46:05 +0800 Subject: [PATCH 2/2] fix: remove cvm ins_count default --- tencentcloud/resource_tc_instance.go | 1 - 1 file changed, 1 deletion(-) diff --git a/tencentcloud/resource_tc_instance.go b/tencentcloud/resource_tc_instance.go index 5e46f34bc0..9c1ce19749 100644 --- a/tencentcloud/resource_tc_instance.go +++ b/tencentcloud/resource_tc_instance.go @@ -178,7 +178,6 @@ func resourceTencentCloudInstance() *schema.Resource { "instance_count": { Type: schema.TypeInt, Optional: true, - Default: 1, Deprecated: "It has been deprecated from version 1.59.18. Use built-in `count` instead.", ValidateFunc: validateIntegerInRange(1, 100), Description: "The number of instances to be purchased. Value range:[1,100]; default value: 1.",