proxmox-lxc

DacoDev/proxmox-lxc/module

Terraform Module HCL MODULE

TF modules for Proxmox built on top of bgp's provider: https://registry.terraform.io/providers/bpg/proxmox/latest

Install
module "proxmox-lxc" {
source = "DacoDev/proxmox-lxc/module"
version = "1.10.0"
}
plain text: /constructs/tfmod-dacodev-proxmox-lxc-module/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-module-proxmox-lxc TF modules for Proxmox built on top of bpg's provider: https://registry.terraform.io/providers/bpg/proxmox/latest Relatively stable for a standard/basic use case.

Inputs (13)
NameTypeDescriptionDefault
container_namestringThe name or name-prefix of the container if count is specified. With count, name required
distrostringSelection of the QEMU agent that will be used with the container. Options: alpin required
node_namestringThe name of the specific ProxMox node that the container/s will be spun up on. required
vm_idnumberThe VM ID to assign, if count is greater than 1, the VM ID iterates by 1 for eac required
cpu_coresnumberNumber of cores to make available to the container (based on the threaded core c required
container_template_filestringA .tar.zst/.tar.gz/.tar.xz as found at https://us.lxd.images.canonical.com/image required
datastore_idstringThe drive where the container's root storage will be created. The size of the ro"local-lvm"
disk_sizenumber4
memory_dedicatednumberAmount of RAM to provision for each container, in MegaBytes.512
cpu_unitsnumberThis is a relative weight passed to the kernel scheduler. The larger the number 1024
password_lengthnumberLength of the randomly generated password.16
memory_swapnumberBy setting this value, you grant access for the container to use the host node S0
migrate_template_fileboolSet to false to prevent re-creating the underlying proxmox_virtual_environment_ftrue
Outputs (1)
container_password
Resources (5)
proxmox_virtual_environment_containerproxmox_virtual_environment_download_fileproxmox_virtual_environment_filerandom_passwordrandom_uuid
Details
FrameworkTerraform Module
LanguageHCL
Version1.10.0
Cloud MODULE
★ Stars4
Forks2
Total downloads416
Inputs13
Outputs1
Resources5
LicenseMIT
NamespaceDacoDev
Updated