-
Notifications
You must be signed in to change notification settings - Fork 193
Open
Description
Update:
It seems the document is the problem here.
scale_groups- (Required, List, NonUpdatable) Specifies the IDs of scale groups to scale. default indicates the default group.
However, In https://support.huaweicloud.com/intl/en-us/api-cce/ScaleNodePool.html#section3 :
Parameter: scaleGroups
Mandatory: Yes
Type: Array of strings
Definition: Name of the scaling group in a node pool to be scaled.
It accepts names, not IDs.
Problem:
You can’t scale any group beyond “default” because there’s no way to know or fetch the IDs of extended scale groups—huaweicloud_cce_node_pool data source doesn’t expose them.
Repro:
-
Create a NodePool with extra scale groups.
-
In Terraform:
resource "huaweicloud_cce_node_pool_scale" "test" { cluster_id = var.cluster_id nodepool_id = var.nodepool_id scale_groups = ["????????"] # what goes here? desired_node_count = 2 }
Expected Fix:
- Data Source:
huaweicloud_cce_node_poolmust return all scale groups withid.
Without this, users can’t know what to put in scale_groups.
Metadata
Metadata
Assignees
Labels
No labels