Skip to content

Commit c032cb4

Browse files
authored
feat:1.adjust system_disk_size range. 2.tags support update. (#2287)
* feat:1.adjust system_disk_size range. 2.tags support update. * add changelog
1 parent 00cf549 commit c032cb4

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.changelog/2287.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
```release-note:enhancement
2+
tencentcloud_kubernetes_node_pool: adjust `system_disk_size` validate range
3+
```
4+
5+
```release-note:enhancement
6+
tencentcloud_kubernetes_node_pool: `tags` field supports update operation
7+
```

tencentcloud/resource_tc_kubernetes_node_pool.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ func composedKubernetesAsScalingConfigPara() map[string]*schema.Schema {
212212
Type: schema.TypeInt,
213213
Optional: true,
214214
Default: 50,
215-
ValidateFunc: validateIntegerInRange(50, 500),
215+
ValidateFunc: validateIntegerInRange(20, 1024),
216216
Description: "Volume of system disk in GB. Default is `50`.",
217217
},
218218
"data_disk": {
@@ -1608,6 +1608,7 @@ func resourceKubernetesNodePoolUpdate(d *schema.ResourceData, meta interface{})
16081608
"enable_auto_scale",
16091609
"node_os_type",
16101610
"node_os",
1611+
"tags",
16111612
) {
16121613
maxSize := int64(d.Get("max_size").(int))
16131614
minSize := int64(d.Get("min_size").(int))

0 commit comments

Comments
 (0)