Skip to content

Commit 524eb26

Browse files
committed
fix: nodepool throughput_performance schema type to int
1 parent 8da0fe7 commit 524eb26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tencentcloud/resource_tc_kubernetes_node_pool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ func composedKubernetesAsScalingConfigPara() map[string]*schema.Schema {
246246
Description: "Specify whether to encrypt data disk, default: false.",
247247
},
248248
"throughput_performance": {
249-
Type: schema.TypeBool,
249+
Type: schema.TypeInt,
250250
Optional: true,
251251
Description: "Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD` and `data_size` > 460GB.",
252252
},

website/docs/r/kubernetes_node_pool.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ The `data_disk` object supports the following:
216216
* `disk_type` - (Optional, String, ForceNew) Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`.
217217
* `encrypt` - (Optional, Bool) Specify whether to encrypt data disk, default: false.
218218
* `snapshot_id` - (Optional, String, ForceNew) Data disk snapshot ID.
219-
* `throughput_performance` - (Optional, Bool) Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD` and `data_size` > 460GB.
219+
* `throughput_performance` - (Optional, Int) Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD` and `data_size` > 460GB.
220220

221221
The `node_config` object supports the following:
222222

0 commit comments

Comments
 (0)