This commit is contained in:
2024-05-24 09:19:55 +02:00
parent 8a08647dd6
commit e37f661699
4 changed files with 12 additions and 10 deletions

View File

@@ -9,7 +9,7 @@ locals {
//TODO: trouver un moyen d'attendre que le service soit ready
data "http" "get_ldap_outpost" {
depends_on = [authentik_provider_ldap.provider_ldap]
url = "http://authentik.${var.namespace}.svc/api/v3/outposts/instances/?name__iexact=ldap"
url = "http://authentik-authentik.${var.namespace}.svc/api/v3/outposts/instances/?name__iexact=ldap"
method = "GET"
request_headers = local.request_headers
lifecycle {