Files
homelab-infra/terraform/netcore/core-mon.tf
T
karpenok 065c47aee2
ansible-core-mon / deploy (push) Successful in 1m8s
ansible-core-net / deploy (push) Successful in 18s
fix(monitoring): copy alerts.yml without jinja2 templating
2026-11-11 16:08:38 +07:00

53 lines
871 B
Terraform

resource "proxmox_virtual_environment_container" "core_mon" {
description = "Managed by Terraform: core-mon (Prometheus, Alertmanager, Grafana, Ntfy)"
node_name = var.proxmox_node
vm_id = 903
unprivileged = true
started = true
initialization {
hostname = "core-mon"
ip_config {
ipv4 {
address = "192.168.1.108/24"
gateway = "192.168.1.1"
}
}
user_account {
keys = var.ssh_public_keys
}
}
network_interface {
name = "eth0"
bridge = "vmbr10"
}
operating_system {
template_file_id = "local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst"
type = "debian"
}
cpu {
cores = 2
}
memory {
dedicated = 4096
swap = 2048
}
disk {
datastore_id = "local-lvm"
size = 30
}
features {
nesting = true
}
}