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
README
terraform-proxmox-vm Modulo terraform proxmox VM Add depends_on variable
Inputs (50)
| Name | Type | Description | Default |
|---|---|---|---|
| target_node | string | The name of the Proxmox Node on which to place the VM. (REQUIRED) | null |
| desc | string | The description of the VM. Shows as the 'Notes' field in the Proxmox GUI. | null |
| bios | string | Select BIOS implementation(ovmf | seabios). Default: seabios | "seabios" |
| pm_ssh_password | string | Proxmox ssh user password. (REQUIRED when 'pm_enable_user_data = true') | null |
| pm_api_url | string | This is the target Proxmox API endpoint. REQUIRED(or use environment variable PM | null |
| sockets | number | The number of CPU sockets to allocate to the VM. | 1 |
| nameserver | string | Cloud-init specific, sets DNS server IP address for a container | null |
| pm_user | string | The user, remember to include the authentication realm such as myuser@pam or myu | null |
| pm_enable_user_data | bool | Enable user data using cloud init provider | false |
| create_vm | bool | Check for VM Creation | true |
| iso | string | The name of the ISO image to mount to the VM. Only applies when clone is not set | null |
| hastate | string | HA, you need to use a shared disk for this feature (ex: rbd) | null |
| ipconfig5 | string | Cloud-init specific, Specify IP addresses and gateways for the corresponding int | "ip=dhcp" |
| pm_log_file | string | If logging is enabled, the log file the provider will write logs to. (Optional; | "terraform-proxmox.log" |
| pm_otp | string | The 2FA OTP code. (Optional; or use environment variable PM_OTP) | null |
| memory | number | Amount of RAM for the VM in MB. This is the maximum available memory when you us | 512 |
| ipconfig3 | string | Cloud-init specific, Specify IP addresses and gateways for the corresponding int | "ip=dhcp" |
| pm_user_data_id | string | Proxmox cloud init unique identify. (REQUIRED when 'pm_enable_user_data = true') | "" |
| onboot | bool | Whether to have the VM startup after the PVE node starts. | true |
| tags | string | 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