Skip to content

Commit 6cc3207

Browse files
feat: added cluster.name as tag for pve vm
1 parent 9240ff3 commit 6cc3207

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

proxmox_vm_controlplanes.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ resource "proxmox_virtual_environment_vm" "controlplane" {
1313
disk = each.value.disk
1414
proxmox_node = each.value.node
1515
})
16+
tags = [${var.cluster.name}]
1617
vm_id = each.value.vm_id
1718
machine = "q35"
1819
scsi_hardware = "virtio-scsi-single"

proxmox_vm_worker.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ resource "proxmox_virtual_environment_vm" "worker" {
1313
disk = each.value.disk
1414
proxmox_node = each.value.node
1515
})
16+
tags = [${var.cluster.name}]
1617
vm_id = each.value.vm_id
1718
machine = "q35"
1819
scsi_hardware = "virtio-scsi-single"

0 commit comments

Comments
 (0)