Add image ID validation to kvmvm resource mgmt
This commit is contained in:
@@ -392,6 +392,7 @@ func resourceCompute() *schema.Resource {
|
||||
Type: schema.TypeInt,
|
||||
Required: true,
|
||||
ForceNew: true,
|
||||
ValidateFunc: validation.IntAtLeast(1),
|
||||
Description: "ID of the OS image to base this compute instance on.",
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user