Terraform Module for Harvester Virtual Machine
For examples please reffer Here
No modules.
Name
Description
Type
Default
Required
cloudinit
(Required) List of cloud-init configurations for the virtual machine
list(map(string))
[]
no
cpu
(Optional) Number of CPU cores assigned to the virtual machine
number
null
no
cpu_pinning
(Optional) Enable or disable CPU pinning for the virtual machine
bool
null
no
description
(Optional) Description of the virtual machine
string
null
no
disk
(Required) List of disk configurations for the virtual machine
list(map(string))
n/a
yes
efi
(Optional) Enable or disable EFI boot for the virtual machine
bool
null
no
hostname
(Optional) Hostname of the virtual machine
string
null
no
id
(Optional) ID of the virtual machine
string
null
no
input
(Required) List of input configurations for the virtual machine
list(map(string))
[]
no
isolate_emulator_thread
(Optional) Enable or disable isolation of the emulator thread for the virtual machine
bool
null
no
machine_type
(Optional) Machine type of the virtual machine
string
null
no
memory
(Optional) Amount of memory (in MB) assigned to the virtual machine
string
null
no
name
(Required) Name of the virtual machine
string
n/a
yes
namespace
(Optional) Namespace of the virtual machine
string
null
no
network_interface
(Required) List of network interface configurations for the virtual machine
list(map(string))
n/a
yes
reserved_memory
(Optional) Amount of reserved memory (in MB) for the virtual machine
number
null
no
restart_after_update
(Optional) Enable or disable automatic restart after update for the virtual machine
bool
null
no
run_strategy
(Optional) Run strategy of the virtual machine
string
null
no
secure_boot
(Optional) Enable or disable secure boot for the virtual machine
bool
null
no
ssh_keys
(Optional) List of SSH keys for the virtual machine
list(string)
null
no
start
(Optional) Whether to start the virtual machine after creation
bool
null
no
tags
(Optional) Tags to assign to the virtual machine
map(string)
{}
no
timeouts
(Required) List of timeout configurations for the virtual machine
list(map(string))
[]
no
tpm
(Required) List of TPM configurations for the virtual machine
list(map(string))
[]
no
No outputs.