Add code for ViNS data source provider, phase 1

This commit is contained in:
Sergey Shubin svs1370
2021-03-16 18:15:09 +03:00
parent 5b03f1972c
commit 627722f54e
8 changed files with 344 additions and 6 deletions

View File

@@ -256,6 +256,7 @@ func resourceCompute() *schema.Resource {
Type: schema.TypeString,
Required: true,
ForceNew: true,
ValidateFunc: validation.StringInSlice([]string{"KVM_X86", "KVM_PPC"}, false), // observe case while validating
Description: "Hardware architecture of this compute instance.",
},