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 |
Defaults
Section titled “Defaults”| 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 |
Generated
Section titled “Generated”The section below is generated by terraform-docs in CI. Don’t edit it by hand.
Requirements
Section titled “Requirements”| Name | Version |
|---|---|
| proxmox | 0.116.0 |
Providers
Section titled “Providers”No providers.
Modules
Section titled “Modules”| Name | Source | Version |
|---|---|---|
| containers | git::https://github.com/Brsalcedom/tf-modules//proxmox/lxc | v1.2.4 |
Resources
Section titled “Resources”No resources.
Inputs
Section titled “Inputs”| 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 |
Outputs
Section titled “Outputs”No outputs.