forked from catalin/fukuops
feat: add firezone tofu app
This commit is contained in:
parent
909eb5913f
commit
dc6fc316e7
5 changed files with 61 additions and 8 deletions
|
|
@ -38,6 +38,9 @@ resource "authentik_application" "app" {
|
|||
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
|
||||
}
|
||||
resource "authentik_policy_binding" "app_access" {
|
||||
target = authentik_application.app.uuid
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ variable "redirect_uris" {
|
|||
}
|
||||
|
||||
variable "sub_mode" {
|
||||
type = string
|
||||
type = string
|
||||
default = "user_username"
|
||||
}
|
||||
|
||||
|
|
@ -40,11 +40,26 @@ variable "oidc_signing_key" {
|
|||
}
|
||||
|
||||
variable "open_in_new_tab" {
|
||||
type = bool
|
||||
type = bool
|
||||
description = "Open apps in a new tab"
|
||||
default = true
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "app_icon" {
|
||||
type = string
|
||||
}
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "app_description" {
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "app_publisher" {
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
variable "app_url" {
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue