@@ -11,24 +11,23 @@ This module is an opinionated take on creating a VM in Proxmox; not all possible
11
11
| Name | Description | Type | Default | Required |
12
12
| ------| -------------| ------| ---------| :--------:|
13
13
| boot | Boot order for the instance. | ` string ` | ` "cdn" ` | no |
14
- | cicustom | Path(s) to cloud-init config files (ignored when pxe_boot is true). | ` string ` | ` "" ` | no |
15
- | citemplate_storage | Name of the storage containing the cloud-init snippets (ignored when pxe_boot is true). | ` string ` | ` "local" ` | no |
16
- | clone | Name of the template to clone (ignored when pxe_boot is true). | ` string ` | ` "" ` | no |
17
- | cloudinit_cdrom_storage | Name of the storage to create the cloud-init image in. | ` string ` | ` "local-lvm" ` | no |
14
+ | cicustom | Path(s) to cloud-init config files (ignored when pxe_boot is true). | ` string ` | ` null ` | no |
15
+ | citemplate_storage | Name of the storage containing the cloud-init snippets (ignored when pxe_boot is true). | ` string ` | ` null ` | no |
16
+ | clone | Name of the template to clone (ignored when pxe_boot is true). | ` string ` | ` null ` | no |
17
+ | cloudinit_cdrom_storage | Name of the storage to create the cloud-init image in (e.g. local-lvm). | ` string ` | ` null ` | no |
18
18
| cores | Number of cores to allocate. | ` number ` | n/a | yes |
19
19
| disks | List of objects representing additional disks. | <pre >list(object({<br > type = string<br > storage = string<br > size = string<br > }))</pre > | ` null ` | no |
20
- | full_clone | Create a full clone; if false, a linked clone will be created (ignored when pxe_boot is true). | ` bool ` | ` false ` | no |
21
- | instance_domain | Domain name to use. | ` string ` | n/a | yes |
20
+ | full_clone | Create a full clone; if false, a linked clone will be created (ignored when pxe_boot is true). | ` bool ` | ` null ` | no |
21
+ | hagroup | The HA group identifier the resource belongs to. | ` string ` | ` null ` | no |
22
+ | hastate | Requested HA state for the resource. | ` string ` | ` null ` | no |
22
23
| memory | Amount of memory to allocate. | ` number ` | n/a | yes |
23
- | nameserver | Nameserver to use in the instance. | ` string ` | n/a | yes |
24
24
| network_interfaces | List of objects representing instance interface configuration. | <pre >list(object({<br > model = string<br > bridge = string<br > tag = number<br > macaddr = string<br > }))</pre > | n/a | yes |
25
- | os_type | Type of OS for preprovisioning. | ` string ` | ` "" ` | no |
25
+ | os_type | Type of OS for preprovisioning. | ` string ` | ` null ` | no |
26
26
| pve_instance_description | Description of the instance. | ` string ` | n/a | yes |
27
27
| pve_instance_name | Name of the instance. | ` string ` | n/a | yes |
28
28
| pxe_boot | Set PXE boot mode | ` bool ` | ` false ` | no |
29
29
| qemu_agent | Enable QEMU guest agent (must be installed in the template). Set to ` 1 ` to enable or ` 0 ` to disable. | ` number ` | ` 0 ` | no |
30
30
| resource_pool | Name of the resource pool the assign the instance to. | ` string ` | n/a | yes |
31
- | searchdomain | DNS searchdomain to use. | ` string ` | n/a | yes |
32
31
| snippet_dir | Name of the snippet subdirectory. | ` string ` | ` "snippets" ` | no |
33
32
| snippet_file_base | Path to the directory containing the snippet_dir. | ` string ` | ` "/var/lib/vz" ` | no |
34
33
| sockets | Number of sockets to allocate. | ` number ` | n/a | yes |
0 commit comments