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": {
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": {

View File

@@ -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": {