Terraform Proxmox Module
- HCL 90.5%
- JavaScript 9.5%
| .forgejo/workflows | ||
| tests/fixtures | ||
| .editorconfig | ||
| .gitignore | ||
| .markdownlint.json | ||
| .pre-commit-config.yaml | ||
| CHANGELOG.md | ||
| main.tf | ||
| outputs.tf | ||
| providers.tf | ||
| README.md | ||
| release.config.mjs | ||
| renovate.json | ||
| variables.tf | ||
Requirements
| Name | Version |
|---|---|
| terraform | >= 1.10.2 |
| proxmox | 3.0.2-rc08 |
Providers
| Name | Version |
|---|---|
| proxmox | 3.0.2-rc08 |
Modules
No modules.
Resources
| Name | Type |
|---|---|
| proxmox_vm_qemu.proxmox-vm | resource |
Inputs
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| default_tags | Default tags added to each VM. | list(string) |
[ |
no |
| proxmox_vm | Map containing VM configurations. Key = unique VM name. Each VM object must contain the following attributes: - vm_id: Unique VM ID in the Proxmox cluster (integer) - hostname: Hostname of the VM (string) - ciuser: Cloud-Init username (string) - cipassword: Cloud-Init password (string, must not be empty) - memory: Amount of RAM in MB (integer) - boot_disk_size: Size of the boot disk (e.g. "10G") (string) - cidr: IP address and subnet in CIDR notation (e.g. "192.168.1.10/24") (string) - NAT_gateway_IPv4: Default IPv4 gateway (string) - vnic_bridge: Proxmox network bridge (e.g. "vmbr0") (string) - tags: (optional) List of tags (list(string)) All other attributes are documented below. |
map(object({ |
n/a | yes |
Outputs
| Name | Description |
|---|---|
| vm_names | Host names of the VMs |