Skip to content

Commit

Permalink
order schema alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Gruhler committed Jul 6, 2019
1 parent 5a7afb6 commit 97851be
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions proxmox/resource_lxc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ func resourceLxc() *schema.Resource {
},

Schema: map[string]*schema.Schema{
"hostname": {
Type: schema.TypeString,
Required: true,
},
"target_node": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
},
"ostemplate": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
},
"force": {
Type: schema.TypeBool,
Optional: true,
Default: false,
},
"hostname": {
Type: schema.TypeString,
Required: true,
},
"networks": &schema.Schema{
Type: schema.TypeSet,
Optional: true,
Expand Down Expand Up @@ -58,23 +58,23 @@ func resourceLxc() *schema.Resource {
},
},
},
"storage": {
"password": {
Type: schema.TypeString,
Optional: true,
},
"pool": {
Type: schema.TypeString,
Optional: true,
Default: "local-lvm",
},
"pool": {
"storage": {
Type: schema.TypeString,
Optional: true,
Default: "local-lvm",
},
"password": {
"target_node": {
Type: schema.TypeString,
Optional: true,
},
"force": {
Type: schema.TypeBool,
Optional: true,
Default: false,
Required: true,
ForceNew: true,
},
},
}
Expand Down

0 comments on commit 97851be

Please sign in to comment.