From 97851be443d26ce2721bc44c855b41d7580191e6 Mon Sep 17 00:00:00 2001 From: Andreas Gruhler Date: Wed, 5 Jun 2019 20:36:36 +0200 Subject: [PATCH] order schema alphabetically --- proxmox/resource_lxc.go | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/proxmox/resource_lxc.go b/proxmox/resource_lxc.go index 8becd25..fb17aea 100644 --- a/proxmox/resource_lxc.go +++ b/proxmox/resource_lxc.go @@ -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, }, }, }