Update main.tf
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 13s

This commit is contained in:
2025-11-16 12:29:16 +01:00
parent fc62d16c43
commit c06d103a87

View File

@@ -5,6 +5,10 @@ data "vault_generic_secret" "cloudflare" {
path = var.vault_cloudflare_path
}
data "vault_generic_secret" "authentik" {
path = var.vault_authentik_path
}
# =============================================================================
# LOCALS
# =============================================================================
@@ -15,6 +19,9 @@ locals {
cloudflare_account_id = data.vault_generic_secret.cloudflare.data["account_id"]
cloudflare_email = data.vault_generic_secret.cloudflare.data["email"]
authentik_oidc_client_id_cloudflare = data.vault_generic_secret.authentik.data["client_id_cloudflare"]
authentik_oidc_secret_cloudflare = data.vault_generic_secret.authentik.data["secret_cloudflare"]
# Construction des ingress rules pour toutes les applications
ingress_rules = concat(
[