Files
homelab-infra/terraform/netcore/core-net.tf
T
karpenok 6a2f90797a
ansible-deploy / plan (push) Successful in 2s
ansible-lint / lint (push) Successful in 3s
ansible-deploy / deploy (core-mon, ) (push) Successful in 39s
ansible-deploy / deploy (core-net, ) (push) Successful in 57s
ansible-deploy / deploy (core-secrets, ) (push) Successful in 25s
ansible-deploy / deploy (ger-nod-02, ) (push) Successful in 57s
ansible-deploy / deploy (opnsense, ) (push) Successful in 15s
chore: remove NetBird and Authentik layers from homelab
2026-11-19 10:50:19 +07:00

52 lines
849 B
Terraform

resource "proxmox_virtual_environment_container" "core_net" {
description = "Managed by Terraform: core-net (Traefik, Remnawave)"
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
}
}