Terraform: VM
Source: terraform/proxmox/vm. Module: proxmox/vm-cloud-init.
| File | Contents |
|---|---|
backend.tf |
S3 backend on Cloudflare R2, key proxmox/vm/terraform.tfstate |
provider.tf |
bpg/proxmox provider; SSH block for snippet uploads |
locals.tf |
defaults, the vms map and the merged vms_merged map |
vms.tf |
One module call per VM (for_each = local.vms_merged) |
variables.tf |
ssh_authorized_keys |
Defaults
Section titled “Defaults”| Key | Value |
|---|---|
clone_vm_id |
8000 (Rocky Linux cloud-init template) |
cpu |
2 |
memory |
2048 |
gateway |
192.168.10.1 |
dns |
["192.168.10.150"] |
username |
rocky |
node_name |
prox-01 |
bridge |
vmbr0 |
qemu_agent |
false |
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 |
|---|---|---|
| vms | git::https://github.com/Brsalcedom/tf-modules//proxmox/vm-cloud-init | v1.2.4 |
Resources
Section titled “Resources”No resources.
Inputs
Section titled “Inputs”| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| ssh_authorized_keys | SSH authorized keys | list(string) |
n/a | yes |
Outputs
Section titled “Outputs”No outputs.