## Requirements The following requirements are needed by this module: - [libvirt](#requirement\_libvirt) (~> 0.6.14) - [macaddress](#requirement\_macaddress) (~> 0.3.0) ## Providers The following providers are used by this module: - [libvirt](#provider\_libvirt) (~> 0.6.14) - [macaddress](#provider\_macaddress) (~> 0.3.0) ## Modules The following Modules are called: ### [ipam](#module\_ipam) Source: ../../modules/lawndale-vm-ipam Version: ## Resources The following resources are used by this module: - [libvirt_cloudinit_disk.this](https://registry.terraform.io/providers/dmacvicar/libvirt/latest/docs/resources/cloudinit_disk) (resource) - [libvirt_domain.this](https://registry.terraform.io/providers/dmacvicar/libvirt/latest/docs/resources/domain) (resource) - [libvirt_pool.this](https://registry.terraform.io/providers/dmacvicar/libvirt/latest/docs/resources/pool) (resource) - [libvirt_volume.this](https://registry.terraform.io/providers/dmacvicar/libvirt/latest/docs/resources/volume) (resource) - [macaddress_macaddress.this](https://registry.terraform.io/providers/ivoronin/macaddress/latest/docs/resources/macaddress) (resource) ## Required Inputs The following input variables are required: ### [base\_image\_pool](#input\_base\_image\_pool) Description: Base image storage pool Type: `string` ### [base\_image\_volume](#input\_base\_image\_volume) Description: Base image storage pool Type: `string` ### [description](#input\_description) Description: (Short) Description for the virtual machine Type: `string` ### [id](#input\_id) Description: The lawndale id of the virtual machine Type: `number` ### [interface](#input\_interface) Description: Network interface to attach the vm on Type: `string` ### [memory\_mb](#input\_memory\_mb) Description: VM memory allocation in megabytes Type: `number` ### [name](#input\_name) Description: The name of the virtual machine (must be a [-\_a-z0-9]) Type: `string` ### [root\_storage\_volume\_size\_gb](#input\_root\_storage\_volume\_size\_gb) Description: The size of the storage volume (in gigabytes) Type: `number` ### [user\_data](#input\_user\_data) Description: Cloud-init userdata script to run Type: `string` ## Optional Inputs The following input variables are optional (have default values): ### [autostart](#input\_autostart) Description: Start the VM at host start? Type: `bool` Default: `true` ### [create\_root\_storage\_pool](#input\_create\_root\_storage\_pool) Description: Create the storage pool as part of the module Type: `bool` Default: `true` ### [filesystems](#input\_filesystems) Description: 9p shared filesystem devices Type: ```hcl list(object({ source = string target = string accessmode = string readonly = bool })) ``` Default: `[]` ### [meta\_data](#input\_meta\_data) Description: Cloud-init meta-data Type: `string` Default: `null` ### [network\_config](#input\_network\_config) Description: Cloud-init network config Type: `string` Default: `null` ### [root\_storage\_pool](#input\_root\_storage\_pool) Description: The name of the storage pool. It will default to the VM name Type: `string` Default: `""` ### [root\_storage\_volume\_name](#input\_root\_storage\_volume\_name) Description: the name of the storage volume (must be unique in the pool) Type: `string` Default: `""` ### [vcpu](#input\_vcpu) Description: CPU count Type: `number` Default: `1` ### [xslt](#input\_xslt) Description: XSLT applied to the domain before sent to libvirt Type: `string` Default: `null` ## Outputs No outputs.