Skip to content

Commit

Permalink
Some sane defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
bkmeneguello committed May 23, 2019
1 parent 24a4408 commit 77858d8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions proxmox/resource_vm_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,18 @@ func resourceVmQemu() *schema.Resource {
},
"memory": {
Type: schema.TypeInt,
Required: true,
Optional: true,
Default: 512,
},
"cores": {
Type: schema.TypeInt,
Required: true,
Optional: true,
Default: 1,
},
"sockets": {
Type: schema.TypeInt,
Required: true,
Optional: true,
Default: 1,
},
"network": &schema.Schema{
Type: schema.TypeSet,
Expand Down

0 comments on commit 77858d8

Please sign in to comment.