This commit is contained in:
2023-10-18 17:42:50 +02:00
parent f1721100b8
commit 48f6a85519
4 changed files with 83 additions and 87 deletions

View File

@@ -1,8 +1,4 @@
locals {
request_headers = {
"Content-Type" = "application/json"
Authorization = "Bearer ${var.authentik-token}"
}
forward-outpost-providers = jsondecode(data.http.get_forward_outpost.response_body).results[0].providers
forward-outpost-pk = jsondecode(data.http.get_forward_outpost.response_body).results[0].pk
app-name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)

View File

@@ -19,9 +19,6 @@ variable "labels" {
type = map(string)
}
variable "authentik-token" {
type = string
}
variable "dns-names" {
type = list(string)
}