This commit is contained in:
2023-10-19 13:16:16 +02:00
parent d61d6e1660
commit 0bedf5f777
16 changed files with 819 additions and 827 deletions

View File

@@ -21,8 +21,8 @@ resource "authentik_application" "prj_app" {
slug = "${var.component}-${var.instance}"
group = var.app-group
protocol_provider = var.protocol_provider
meta_launch_url = format("https://%s.%s", var.sub-domain, var.domain-name)
meta_icon = format("https://%s.%s/%s", var.sub-domain, var.domain-name, var.icon)
meta_launch_url = format("https://%s", var.dns-name)
meta_icon = format("https://%s/%s", var.dns-name, var.icon)
}
resource "authentik_policy_expression" "policy" {

View File

@@ -13,10 +13,7 @@ variable "app-group" {
variable "protocol_provider" {
type = number
}
variable "sub-domain" {
type = string
}
variable "domain-name" {
variable "dns-name" {
type = string
}
variable "sub-groups" {