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>
52 lines
849 B
Terraform
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
|
|
}
|
|
}
|