Add authentik to opentofu

This commit is contained in:
Tobias Reisinger 2024-09-28 14:14:09 +02:00
parent 496cd360c6
commit 01ee9d4b44
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
9 changed files with 184 additions and 84 deletions

View file

@ -19,6 +19,15 @@ variable "backend_bucket" {
}
variable "authentik_url" {
default = "https://auth.serguzim.me"
}
variable "authentik_token" {
sensitive = true
}
variable "hcloud_token" {
sensitive = true
}
@ -95,6 +104,9 @@ variable "default_ssh_key" {
variable "services" {
type = map(object({
name = string
subdomain = string
auth = bool
auth_redirects = optional(list(string))
bucket = bool
database = bool
}))