This commit is contained in:
Пётр Крутов
2022-09-01 13:44:05 +00:00
parent 4bc11c5f07
commit ddc6640a32
2 changed files with 8 additions and 10 deletions

View File

@@ -387,11 +387,10 @@ func ResourceCompute() *schema.Resource {
}, },
"image_id": { "image_id": {
Type: schema.TypeInt, Type: schema.TypeInt,
Required: true, Required: true,
ForceNew: true, ForceNew: true,
ValidateFunc: validation.IntAtLeast(1), Description: "ID of the OS image to base this compute instance on.",
Description: "ID of the OS image to base this compute instance on.",
}, },
"boot_disk_size": { "boot_disk_size": {

View File

@@ -387,11 +387,10 @@ func ResourceCompute() *schema.Resource {
}, },
"image_id": { "image_id": {
Type: schema.TypeInt, Type: schema.TypeInt,
Required: true, Required: true,
ForceNew: true, ForceNew: true,
ValidateFunc: validation.IntAtLeast(1), Description: "ID of the OS image to base this compute instance on.",
Description: "ID of the OS image to base this compute instance on.",
}, },
"boot_disk_size": { "boot_disk_size": {