Skip to content

Commit ea1617e

Browse files
authored
add Deprecated to the security_group_ids parameter description (#2309)
* add Deprecated to the security_group_ids parameter description * add changelog 2309.txt
1 parent 778e4ac commit ea1617e

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.changelog/2309.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
tencentcloud_kubernetes_node_pool: add Deprecated to the security_group_ids parameter description
3+
```

tencentcloud/resource_tc_kubernetes_node_pool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ func composedKubernetesAsScalingConfigPara() map[string]*schema.Schema {
339339
Elem: &schema.Schema{Type: schema.TypeString},
340340
ConflictsWith: []string{"auto_scaling_config.0.orderly_security_group_ids"},
341341
Deprecated: "The order of elements in this field cannot be guaranteed. Use `orderly_security_group_ids` instead.",
342-
Description: "Security groups to which a CVM instance belongs.",
342+
Description: "(**Deprecated**) The order of elements in this field cannot be guaranteed. Use `orderly_security_group_ids` instead. Security groups to which a CVM instance belongs.",
343343
},
344344
"orderly_security_group_ids": {
345345
Type: schema.TypeList,

website/docs/r/kubernetes_node_pool.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ The `auto_scaling_config` object supports the following:
205205
* `orderly_security_group_ids` - (Optional, List) Ordered security groups to which a CVM instance belongs.
206206
* `password` - (Optional, String, ForceNew) Password to access.
207207
* `public_ip_assigned` - (Optional, Bool) Specify whether to assign an Internet IP address.
208-
* `security_group_ids` - (Optional, Set) Security groups to which a CVM instance belongs.
208+
* `security_group_ids` - (Optional, Set) (**Deprecated**) The order of elements in this field cannot be guaranteed. Use `orderly_security_group_ids` instead. Security groups to which a CVM instance belongs.
209209
* `spot_instance_type` - (Optional, String) Type of spot instance, only support `one-time` now. Note: it only works when instance_charge_type is set to `SPOTPAID`.
210210
* `spot_max_price` - (Optional, String) Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instance_charge_type is set to `SPOTPAID`.
211211
* `system_disk_size` - (Optional, Int) Volume of system disk in GB. Default is `50`.

0 commit comments

Comments
 (0)