Skip to content

Commit 026eb11

Browse files
authored
fix: remove cbs type (#767)
* fix: remove cbs type * fix: remove cvm ins_count default
1 parent bd5aad2 commit 026eb11

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

tencentcloud/resource_tc_cbs_storage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func resourceTencentCloudCbsStorage() *schema.Resource {
5454
Type: schema.TypeString,
5555
Required: true,
5656
ForceNew: true,
57-
Description: "Type of CBS medium. Valid values: CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_TSSD and CLOUD_HSSD.",
57+
Description: "Type of CBS medium. Valid values: CLOUD_PREMIUM, CLOUD_SSD, CLOUD_TSSD and CLOUD_HSSD.",
5858
},
5959
"storage_size": {
6060
Type: schema.TypeInt,

tencentcloud/resource_tc_instance.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ func resourceTencentCloudInstance() *schema.Resource {
178178
"instance_count": {
179179
Type: schema.TypeInt,
180180
Optional: true,
181-
Default: 1,
182181
Deprecated: "It has been deprecated from version 1.59.18. Use built-in `count` instead.",
183182
ValidateFunc: validateIntegerInRange(1, 100),
184183
Description: "The number of instances to be purchased. Value range:[1,100]; default value: 1.",

website/docs/r/cbs_storage.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The following arguments are supported:
3535
* `availability_zone` - (Required, ForceNew) The available zone that the CBS instance locates at.
3636
* `storage_name` - (Required) Name of CBS. The maximum length can not exceed 60 bytes.
3737
* `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].
38-
* `storage_type` - (Required, ForceNew) Type of CBS medium. Valid values: CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_TSSD and CLOUD_HSSD.
38+
* `storage_type` - (Required, ForceNew) Type of CBS medium. Valid values: CLOUD_PREMIUM, CLOUD_SSD, CLOUD_TSSD and CLOUD_HSSD.
3939
* `charge_type` - (Optional) The charge type of CBS instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`.
4040
* `encrypt` - (Optional, ForceNew) Indicates whether CBS is encrypted.
4141
* `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.

0 commit comments

Comments
 (0)