Skip to content

Commit c88093a

Browse files
Merge pull request #64 from pascalinthecloud/58-add-tags-and-description-to-proxmox-vms
feat: added cluster.name as tag for pve vm
2 parents 9240ff3 + 0281fc4 commit c88093a

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)