Skip to content

Terraform module for deploying virtual machines on the Proxmox hypervisor. The provider used is BPG

Notifications You must be signed in to change notification settings

myplixa/terraform-pve-bpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Terraform module for creating vm on ProxmoxVE

Note

This Terraform module uses the BPG provider version v0.54.0.
Supported version of Proxmox 8.2.0.

This terraform module uses pre-prepared virtual machine templates. If you use a Proxmox cluster, then virtual machine template should be located in the central storage or on each node of the cluster.

Creating a virtual machine template using the console

qm create 999 --name Debina11-CloudInit
qm importdisk 999 /tmp/debian-12-generic-amd64.qcow2 local-zfs
qm set 999 --scsihw virtio-scsi-pci --virtio0 local-zfs:vm-999-disk-0
qm set 999 --net0 virtio,bridge=vmbr0
qm set 999 --ostype l26
qm set 999 --ide2 local-zfs:cloudinit
qm set 999 --boot c --bootdisk virtio0
qm set 999 --serial0 socket --vga serial0
qm set 999 --agent enabled=1
qm template 999

Variables info

Global variables

Name Type Default Example

Cloud-Init variables

Name Type Default Example

Example of using the module

main.tf

output.tf

hosts.tmpl

About

Terraform module for deploying virtual machines on the Proxmox hypervisor. The provider used is BPG

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published