Skip to content

Commit d589058

Browse files
committed
update cvm data disk size limit
1 parent f823ded commit d589058

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tencentcloud/resource_tc_instance.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ func resourceTencentCloudInstance() *schema.Resource {
263263
"data_disk_size": {
264264
Type: schema.TypeInt,
265265
Required: true,
266-
ValidateFunc: validateIntegerInRange(50, 16000),
267-
Description: "Size of the system disk. Value range: [50, 16000], and unit is GB.",
266+
ValidateFunc: validateIntegerInRange(10, 16000),
267+
Description: "Size of the system disk. Value range: [10, 16000], and unit is GB.",
268268
},
269269
"data_disk_id": {
270270
Type: schema.TypeString,

website/docs/r/instance.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ The following arguments are supported:
113113

114114
The `data_disks` object supports the following:
115115

116-
* `data_disk_size` - (Required) Size of the system disk. Value range: [50, 16000], and unit is GB.
116+
* `data_disk_size` - (Required) Size of the system disk. Value range: [10, 16000], and unit is GB.
117117
* `data_disk_type` - (Required) Type of the data disk. Valid values are `LOCAL_BASIC`, `LOCAL_SSD`, `CLOUD_BASIC`, `CLOUD_SSD` and `CLOUD_PREMIUM`. NOTE: `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
118118
* `data_disk_id` - (Optional) Data disk snapshot ID used to initialize the data disk. When data disk type is `LOCAL_BASIC` and `LOCAL_SSD`, disk id is not supported.
119119
* `delete_with_instance` - (Optional) Decides whether the disk is deleted with instance(only applied to cloud disk), default to true.

0 commit comments

Comments
 (0)