diff options
Diffstat (limited to 'libvirt/resource_cloud_init.go')
-rw-r--r-- | libvirt/resource_cloud_init.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libvirt/resource_cloud_init.go b/libvirt/resource_cloud_init.go index 23639546..be52e02d 100644 --- a/libvirt/resource_cloud_init.go +++ b/libvirt/resource_cloud_init.go @@ -13,28 +13,28 @@ func resourceCloudInit() *schema.Resource { Read: resourceCloudInitRead, Delete: resourceCloudInitDelete, Schema: map[string]*schema.Schema{ - "name": &schema.Schema{ + "name": { Type: schema.TypeString, Required: true, ForceNew: true, }, - "pool": &schema.Schema{ + "pool": { Type: schema.TypeString, Optional: true, Default: "default", ForceNew: true, }, - "local_hostname": &schema.Schema{ + "local_hostname": { Type: schema.TypeString, Optional: true, ForceNew: true, }, - "user_data": &schema.Schema{ + "user_data": { Type: schema.TypeString, Optional: true, ForceNew: true, }, - "ssh_authorized_key": &schema.Schema{ + "ssh_authorized_key": { Type: schema.TypeString, Optional: true, ForceNew: true, |