Skip to content

Resource: proxmox_node_config

Manages Proxmox VE node configuration.

Example Usage

resource "proxmox_node_config" "example" {
  node_name   = "pve"
  description = "Managed by Terraform"
}

resource "proxmox_node_config" "multiline" {
  node_name = "pve2"
  description = trimspace(<<-EOT
    Managed by Terraform.

    Owner: ops@example.com
    Role: storage
  EOT
  )
}

Schema

Required

Optional

  • description (String) Description of the node. Shown in the web-interface node notes panel. This is saved as a comment inside the configuration file. Trailing newlines are not supported by PVE; use trimspace() with heredoc values.

Read-Only

  • id (String) The unique identifier of this resource.

Import

Import is supported using the following syntax:

#!/usr/bin/env sh
# Node config is per-node and can be imported by node name:
terraform import proxmox_node_config.example pve