ucloud/terraform-provider-ucloud

`ucloud_uk8s_node.boot_disk_type` is not optional

namoshizun opened this issue · 2 comments

While creating an ucloud_uk8s_node resource, if I don't specify the boot_disk_type, the provider will choose cloud_ssd, as the documentation says. But actually I received this error message:


Error: error on creating uk8s cluster, api:
[server.RetCodeError] 94003 

After consulting UCloud technicians, it appears to be the problem of missing BootDiskType.. So I supplied boot_disk_type = "cloud_rssd" which worked. Maybe the documentation should be updated?

For this situation, it is because the default value of theboot_disk_type is cloud_ssd, but for Outstanding Instance(O) the cloud_rssd is required. In addition, for the error message, we will optimize it recently.

We have released a new version v1.30.0 about add custom diff precheck of boot_disk_type and instance_type for this issue. Please try again.