fix(terraform): VMID fixe pour VMs afin éviter duplication
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 17s
CD - Deploy Infrastructure / Deploy on pve1 (push) Failing after 10s
CD - Deploy Infrastructure / Deploy on pve2 (push) Failing after 7s
CD - Deploy Infrastructure / Deploy on pve3 (push) Failing after 7s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s

Assigner VMID spécifique à chaque VM :
- k3s-server-1: 1000
- k3s-server-2: 1001
- etcd-witness: 1002
This commit is contained in:
Tellsanguis 2025-11-26 19:41:52 +01:00
parent 5f6df07fbe
commit a818aab4be
3 changed files with 3 additions and 0 deletions

View file

@ -22,6 +22,7 @@ provider "proxmox" {
# K3s Server VM on acemagician
resource "proxmox_vm_qemu" "k3s_server_1" {
vmid = 1000
name = "k3s-server-1"
target_node = "acemagician"
clone = var.ubuntu_template

View file

@ -22,6 +22,7 @@ provider "proxmox" {
# K3s Server VM on elitedesk
resource "proxmox_vm_qemu" "k3s_server_2" {
vmid = 1001
name = "k3s-server-2"
target_node = "elitedesk"
clone = var.ubuntu_template

View file

@ -22,6 +22,7 @@ provider "proxmox" {
# etcd Witness VM on thinkpad
resource "proxmox_vm_qemu" "etcd_witness" {
vmid = 1002
name = "etcd-witness"
target_node = "thinkpad"
clone = var.ubuntu_template