provider/vsphere: Make `vsphere_virtual_machine` `product_key` optional (#7410)

Fixes #6690

Luckily, the code was already checking to see if the product_key was
specified
This commit is contained in:
Paul Stack 2016-06-29 19:37:04 +01:00 committed by GitHub
parent 26f294cdef
commit c25eb9b4b8
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ func resourceVSphereVirtualMachine() *schema.Resource {
Schema: map[string]*schema.Schema{ Schema: map[string]*schema.Schema{
"product_key": &schema.Schema{ "product_key": &schema.Schema{
Type: schema.TypeString, Type: schema.TypeString,
Required: true, Optional: true,
ForceNew: true, ForceNew: true,
}, },