feat: add gitea tofu app

This commit is contained in:
cătălin 2024-03-25 08:41:20 +01:00
commit c00e10a505
No known key found for this signature in database
4 changed files with 38 additions and 9 deletions

View file

@ -42,8 +42,10 @@ resource "authentik_application" "app" {
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
}