Skip to content

Commit 80cbf10

Browse files
committed
update the remind msg.
1 parent c67f2ed commit 80cbf10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tencentcloud/resource_tc_kubernetes_node_pool.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ func composedKubernetesAsScalingConfigParaSerial(dMap map[string]interface{}, me
776776

777777
if v, ok := dMap["security_group_ids"]; ok {
778778
if list := v.(*schema.Set).List(); len(list) > 0 {
779-
errRet = fmt.Errorf("The parameter `security_group_ids` is deprecated because the order of elements in this field cannot be guaranteed, therefore adding security groups is no longer supported. Please use `orderly_security_group_ids` instead.")
779+
errRet = fmt.Errorf("The parameter `security_group_ids` had an issue that the actual order of the security group may be inconsistent with the order of your tf code, which will cause your business to be inaccessible. Please use `orderly_security_group_ids` instead.")
780780
return result, errRet
781781
}
782782
}
@@ -933,7 +933,7 @@ func composeAsLaunchConfigModifyRequest(d *schema.ResourceData, launchConfigId s
933933
if d.HasChange("auto_scaling_config.0.security_group_ids") {
934934
if v, ok := dMap["security_group_ids"]; ok {
935935
if list := v.(*schema.Set).List(); len(list) > 0 {
936-
errRet := fmt.Errorf("The parameter `security_group_ids` is deprecated because the order of elements in this field cannot be guaranteed, therefore changing security groups is no longer supported. Please use `orderly_security_group_ids` instead.")
936+
errRet := fmt.Errorf("The parameter `security_group_ids` had an issue that the actual order of the security group may be inconsistent with the order of your tf code, which will cause your business to be inaccessible. You can check whether the order of your current security groups meets your expectations through the TencentCloud Console, then use `orderly_security_group_ids` field to update them.")
937937
return nil, errRet
938938
}
939939
}

0 commit comments

Comments
 (0)