vm

Edleson/vm/proxmox

Terraform Module HCL PROXMOX

Modulo terraform proxmox VM

Install
module "vm" {
source = "Edleson/vm/proxmox"
version = "0.0.6"
}
plain text: /constructs/tfmod-edleson-vm-proxmox/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-proxmox-vm Modulo terraform proxmox VM Add depends_on variable

Inputs (50)
NameTypeDescriptionDefault
target_nodestringThe name of the Proxmox Node on which to place the VM. (REQUIRED)null
descstringThe description of the VM. Shows as the 'Notes' field in the Proxmox GUI.null
biosstringSelect BIOS implementation(ovmf | seabios). Default: seabios"seabios"
pm_ssh_passwordstringProxmox ssh user password. (REQUIRED when 'pm_enable_user_data = true')null
pm_api_urlstringThis is the target Proxmox API endpoint. REQUIRED(or use environment variable PMnull
socketsnumberThe number of CPU sockets to allocate to the VM.1
nameserverstringCloud-init specific, sets DNS server IP address for a containernull
pm_userstringThe user, remember to include the authentication realm such as myuser@pam or myunull
pm_enable_user_databoolEnable user data using cloud init providerfalse
create_vmboolCheck for VM Creationtrue
isostringThe name of the ISO image to mount to the VM. Only applies when clone is not setnull
hastatestringHA, you need to use a shared disk for this feature (ex: rbd)null
ipconfig5stringCloud-init specific, Specify IP addresses and gateways for the corresponding int"ip=dhcp"
pm_log_filestringIf logging is enabled, the log file the provider will write logs to. (Optional;"terraform-proxmox.log"
pm_otpstring The 2FA OTP code. (Optional; or use environment variable PM_OTP)null
memorynumberAmount of RAM for the VM in MB. This is the maximum available memory when you us512
ipconfig3stringCloud-init specific, Specify IP addresses and gateways for the corresponding int"ip=dhcp"
pm_user_data_idstringProxmox cloud init unique identify. (REQUIRED when 'pm_enable_user_data = true')""
onbootboolWhether to have the VM startup after the PVE node starts.true
tagsstring Tags of the VM. This is only meta information.null
… and 10 more inputs
Resources (1)
proxmox_vm_qemu
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.6
Cloud PROXMOX
★ Stars2
Forks0
Total downloads462
Inputs50
Resources1
LicenseMIT
NamespaceEdleson
Updated