feat: add invalidation_flow to the tofu authentik providers
Some checks failed
checks / k8s (push) Failing after 1m33s
checks / pre-commit (push) Failing after 1m36s
OpenTofu deployments / authentik (push) Failing after 41s
OpenTofu deployments / adguard (push) Failing after 1m46s
checks / tflint (push) Failing after 1m27s
Kaniko deployments / nextcloud (push) Failing after 1m37s

This commit is contained in:
cătălin 2024-11-11 16:46:56 +01:00
commit 1d4288caf5
No known key found for this signature in database
4 changed files with 28 additions and 28 deletions

View file

@ -16,6 +16,9 @@ data "authentik_flow" "default-authentication-flow" {
slug = "default-authentication-flow"
}
data "authentik_flow" "default-provider-invalidation-flow" {
slug = "default-provider-invalidation-flow "
}
resource "authentik_provider_proxy" "provider_proxy" {
authorization_flow = data.authentik_flow.default-authorization-flow.id
@ -24,6 +27,7 @@ resource "authentik_provider_proxy" "provider_proxy" {
internal_host = var.internal_host
name = var.app_name
internal_host_ssl_validation = var.internal_host_ssl_validation
invalidation_flow = data.authentik_flow.default-provider-invalidation-flow.id
}