Skip to content

Terraform: LXC

Source: terraform/proxmox/lxc. Module: proxmox/lxc.

File Contents
backend.tf S3 backend on Cloudflare R2, key proxmox/lxc/terraform.tfstate
provider.tf bpg/proxmox provider
locals.tf defaults, the containers map and the merged containers_merged map
containers.tf One module call per container (for_each = local.containers_merged)
variables.tf ssh_authorized_keys, node_name
Key Value
template debian-13-standard_13.6-1_amd64.tar.zst
cpu 2
memory 2048
disk 15 (GB)
gateway 192.168.10.1
dns ["192.168.10.150"]
unprivileged true

The section below is generated by terraform-docs in CI. Don’t edit it by hand.

Name Version
proxmox 0.116.0

No providers.

Name Source Version
containers git::https://github.com/Brsalcedom/tf-modules//proxmox/lxc v1.2.4

No resources.

Name Description Type Default Required
node_name Proxmox node name where containers will be deployed string "prox" no
ssh_authorized_keys SSH authorized keys list(string) n/a yes

No outputs.