order schema alphabetically

This commit is contained in:
Andreas Gruhler 2019-06-05 20:36:36 +02:00
parent 5a7afb6986
commit 97851be443

View File

@ -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,
@ -58,23 +58,23 @@ func resourceLxc() *schema.Resource {
},
},
},
"storage": {
Type: schema.TypeString,
Optional: true,
Default: "local-lvm",
"password": {
Type: schema.TypeString,
Optional: true,
},
"pool": {
Type: schema.TypeString,
Optional: true,
},
"password": {
Type: schema.TypeString,
Optional: true,
"storage": {
Type: schema.TypeString,
Optional: true,
Default: "local-lvm",
},
"force": {
Type: schema.TypeBool,
Optional: true,
Default: false,
"target_node": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
},
},
}