feat: add miniflux tofu app

This commit is contained in:
cătălin 2024-03-25 08:48:20 +01:00
commit fe4e8da22a
No known key found for this signature in database
12 changed files with 50 additions and 23 deletions

View file

@ -37,15 +37,15 @@ resource "authentik_application" "app" {
slug = var.app_slug
protocol_provider = authentik_provider_oauth2.provider_oidc.id
open_in_new_tab = var.open_in_new_tab
meta_icon = var.app_icon
meta_description = var.app_description
meta_publisher = var.app_publisher
meta_launch_url = var.app_url
meta_icon = var.app_icon
meta_description = var.app_description
meta_publisher = var.app_publisher
meta_launch_url = var.app_url
}
resource "authentik_policy_binding" "app_access" {
target = authentik_application.app.uuid
group = var.app_access_group_id
order = 0
count = var.app_access_group_id != "" ? 1 : 0
}
count = var.app_access_group_id != "" ? 1 : 0 # only add it if the group's name exists
}