terraform-provider-sbercloud
terraform-provider-sbercloud copied to clipboard
Bug in sbercloud_cce_node_pool resource?
Hello!
The "sbercloud_cce_node_pool" resource doc says that the "os" attribute is optional:
os - (Optional, String) Operating System of the node.
When I try to create the resource with no "os" specified, I get the following error:
Error: Error creating HuaweiCloud Node Pool: Bad request with: [POST https://cce.ru-moscow-1.hc.sbercloud.ru/api/v3/projects/07727ebe800025fd2f29c0073eb018ef/clusters/1215d72b-ca90-11eb-93c5-0255ac10008e/nodepools], error message: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","code":400,"errorCode":"CCE.01400001","errorMessage":"Invalid request.","error_code":"CCE_CM.0004","error_msg":"Request is invalid","message":"OS:should not be empty","reason":"BadRequest"}
Could you please check this one out?
And it makes sense to correct the error message: it's not HuaweiCloud Node Pool, but SberCloud Node Pool.
Best, P.