mirror of
https://github.com/letic/terraform-provider-proxmox.git
synced 2024-10-01 16:21:05 +00:00
order schema alphabetically
This commit is contained in:
parent
5a7afb6986
commit
97851be443
@ -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,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user