phpipam stuff

This commit is contained in:
nick committed 2026-06-26 01:02:52 -07:00
1 parent 423caa9ca4
commit 879e5966da
5 files changed
+26 -9

No files matched your search

+14
View File
@@ -12,6 +12,10 @@ terraform {
source = "kenske/technitium"
version = "~> 0.2"
}
# phpipam = {
# source = "lord-kyron/phpipam"
# version = "1.6.2"
# }
}
}
@@ -27,6 +31,16 @@ data "external" "infisical" {
program = ["bash", "-c", "infisical export --template=./secrets.tmpl"]
}
# Uncomment when phpIPAM is running and credentials are in Infisical.
# provider "phpipam" {
# app_id = "tofu"
# endpoint = var.ipam_endpoint
# username = coalesce(try(data.external.infisical.result["ipam_username"], ""), "user-not-yet-provisioned")
# password = coalesce(try(data.external.infisical.result["ipam_password"], ""), "pass-not-yet-provisioned")
# insecure = false
# nest_custom_fields = false
# }
provider "proxmox" {
alias = "proxmox"
pm_api_url = var.hypervisors["proxmox"].api_url