nginx: deploy

This commit is contained in:
Vivian 2021-10-19 02:02:56 +02:00
parent 79c0ea4bcb
commit c7312a68b5
No known key found for this signature in database
GPG key ID: A3923C699D1A3BDA

22
main.tf
View file

@ -80,6 +80,28 @@ resource "proxmox_lxc" "mosquitto" {
}
}
resource "proxmox_lxc" "nginx" {
target_node = "nuc"
description = "nginx reverse proxy"
hostname = "nginx"
vmid = 106
clone = 101
memory = 512
rootfs {
storage = "local-zfs"
size = "8G"
}
network {
name = "eth0"
bridge = "vmbr0"
ip = "dhcp"
hwaddr = "6A:C2:89:85:CF:A6"
}
}
resource "proxmox_vm_qemu" "k3s-node1" {
name = "k3s-node1"
target_node = "nuc"