From ddc6640a32fa7a3c5b2edc1605081b20b8558957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D1=91=D1=82=D1=80=20=D0=9A=D1=80=D1=83=D1=82=D0=BE?= =?UTF-8?q?=D0=B2?= Date: Thu, 1 Sep 2022 13:44:05 +0000 Subject: [PATCH] Dev --- internal/service/cloudapi/kvmvm/resource_compute.go | 9 ++++----- internal/service/cloudbroker/kvmvm/resource_compute.go | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/internal/service/cloudapi/kvmvm/resource_compute.go b/internal/service/cloudapi/kvmvm/resource_compute.go index 6bf5c49..8d0483c 100644 --- a/internal/service/cloudapi/kvmvm/resource_compute.go +++ b/internal/service/cloudapi/kvmvm/resource_compute.go @@ -387,11 +387,10 @@ func ResourceCompute() *schema.Resource { }, "image_id": { - Type: schema.TypeInt, - Required: true, - ForceNew: true, - ValidateFunc: validation.IntAtLeast(1), - Description: "ID of the OS image to base this compute instance on.", + Type: schema.TypeInt, + Required: true, + ForceNew: true, + Description: "ID of the OS image to base this compute instance on.", }, "boot_disk_size": { diff --git a/internal/service/cloudbroker/kvmvm/resource_compute.go b/internal/service/cloudbroker/kvmvm/resource_compute.go index 6bf5c49..8d0483c 100644 --- a/internal/service/cloudbroker/kvmvm/resource_compute.go +++ b/internal/service/cloudbroker/kvmvm/resource_compute.go @@ -387,11 +387,10 @@ func ResourceCompute() *schema.Resource { }, "image_id": { - Type: schema.TypeInt, - Required: true, - ForceNew: true, - ValidateFunc: validation.IntAtLeast(1), - Description: "ID of the OS image to base this compute instance on.", + Type: schema.TypeInt, + Required: true, + ForceNew: true, + Description: "ID of the OS image to base this compute instance on.", }, "boot_disk_size": {