variable "authentik_url" { description = "Public Authentik URL. Defaults from homelab.yml through Jeannie." type = string default = "" validation { condition = can(regex("^https://", var.authentik_url)) error_message = "authentik_url must be an HTTPS URL." } } variable "authentik_token" { description = "Scoped Authentik API token, normally read from the bootstrap secret by Jeannie." type = string sensitive = true default = "" validation { condition = length(var.authentik_token) > 0 error_message = "authentik_token must be set." } } variable "gitea_public_url" { description = "Public Gitea root URL." type = string default = "" validation { condition = can(regex("^https://", var.gitea_public_url)) error_message = "gitea_public_url must be an HTTPS URL." } } variable "gitea_auth_source_name" { description = "Gitea OAuth2 authentication source name. This is part of the callback URL." type = string default = "authentik" validation { condition = can(regex("^[A-Za-z0-9._-]+$", var.gitea_auth_source_name)) error_message = "gitea_auth_source_name may only contain letters, digits, dot, underscore, and dash." } } variable "gitea_client_id" { description = "OAuth2 client ID used by Gitea." type = string default = "gitea" }