diff --git a/proxmox_lxc_container/main.tf b/proxmox_lxc_container/main.tf index 45ca11d..e6d6179 100644 --- a/proxmox_lxc_container/main.tf +++ b/proxmox_lxc_container/main.tf @@ -17,6 +17,8 @@ resource "proxmox_virtual_environment_container" "container" { node_name = "serenor" description = var.server_desc + tags = var.tags + unprivileged = var.unprivileged start_on_boot = var.start_on_boot diff --git a/proxmox_lxc_container/variables.tf b/proxmox_lxc_container/variables.tf index 8246745..8ccdf61 100644 --- a/proxmox_lxc_container/variables.tf +++ b/proxmox_lxc_container/variables.tf @@ -26,6 +26,12 @@ variable "server_desc" { type = string } +variable "tags" { + description = "Tags to be associated to the VM" + type = list(string) + default = [] +} + variable "features" { description = "Proxmox Container Features" type = object({