initial upload

This commit is contained in:
Ubuntu
2026-01-08 19:41:23 +00:00
commit ae4f1ad1cc
42 changed files with 1371 additions and 0 deletions

16
terraform/data.tf Normal file
View File

@@ -0,0 +1,16 @@
# Expects secrets at specific paths in Vault KV v2 (mount point 'secret/')
data "vault_generic_secret" "proxmox" {
count = var.use_vault ? 1 : 0
path = "secret/infrastructure/proxmox"
}
data "vault_generic_secret" "opnsense" {
count = var.use_vault ? 1 : 0
path = "secret/infrastructure/opnsense"
}
data "vault_generic_secret" "vm_creds" {
count = var.use_vault ? 1 : 0
path = "secret/infrastructure/vm-credentials"
}