add consul node

This commit is contained in:
Vivian 2021-11-03 22:47:44 +01:00
parent 1ed231fc18
commit c6f27a6d30

23
main.tf
View file

@ -130,3 +130,26 @@ resource "proxmox_vm_qemu" "k3s-node1" {
ssd = 1
}
}
resource "proxmox_lxc" "consul" {
target_node = "nuc"
description = "consul service mesh"
hostname = "consul"
vmid = 107
clone = 101
unprivileged = true
memory = 512
rootfs {
storage = "local-zfs"
size = "8G"
}
network {
name = "eth0"
bridge = "vmbr0"
ip = "dhcp"
hwaddr = "D6:DE:07:41:73:81"
}
}