Files
homelab-infra/terraform/netcore/core-net.tf
T
karpenokandCursor 9c692522fb
ansible-core-net / deploy (push) Failing after 39s
ansible-core-secrets / deploy (push) Successful in 30s
ansible-rus-central / deploy (push) Failing after 15s
refactor: split machine deploys from one-time secrets migration
Roles stay under the machine that runs them, CI applies only a known product, and the /opt/secrets move is a one-shot playbook instead of part of every core-secrets run.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-10 23:55:34 +07:00

52 lines
849 B
Terraform

resource "proxmox_virtual_environment_container" "core_net" {
description = "Managed by Terraform: core-net (Traefik, Authentik)"
node_name = var.proxmox_node
vm_id = 902
unprivileged = true
started = true
initialization {
hostname = "core-net"
ip_config {
ipv4 {
address = "192.168.1.104/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 = 1024
}
disk {
datastore_id = "local-lvm"
size = 20
}
features {
nesting = true
}
}