Skip to content

Commit c25eb9b

Browse files
authored
provider/vsphere: Make vsphere_virtual_machine product_key optional (hashicorp#7410)
Fixes hashicorp#6690 Luckily, the code was already checking to see if the product_key was specified
1 parent 26f294c commit c25eb9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

builtin/providers/vsphere/resource_vsphere_virtual_machine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ func resourceVSphereVirtualMachine() *schema.Resource {
232232
Schema: map[string]*schema.Schema{
233233
"product_key": &schema.Schema{
234234
Type: schema.TypeString,
235-
Required: true,
235+
Optional: true,
236236
ForceNew: true,
237237
},
238238

0 commit comments

Comments
 (0)