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>
This commit is contained in:
1 parent
341538fba9
commit
9c692522fb
85 files changed
+537
-492
No files matched your search
@@ -0,0 +1,52 @@
|
||||
resource "proxmox_virtual_environment_container" "core_secrets" {
|
||||
description = "Managed by Terraform: core-secrets (Infisical, Vaultwarden)"
|
||||
node_name = var.proxmox_node
|
||||
|
||||
vm_id = 901
|
||||
unprivileged = true
|
||||
started = true
|
||||
|
||||
initialization {
|
||||
hostname = "core-secrets"
|
||||
|
||||
ip_config {
|
||||
ipv4 {
|
||||
address = "192.168.1.102/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 = 20
|
||||
}
|
||||
|
||||
features {
|
||||
nesting = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user