diff --git a/services/authentik.hcl b/services/authentik.hcl index 9c37e89..bf96214 100644 --- a/services/authentik.hcl +++ b/services/authentik.hcl @@ -19,7 +19,7 @@ job "authentik" { driver = "docker" config { - image = "ghcr.io/goauthentik/server:2023.6.1" + image = "ghcr.io/goauthentik/server:${var.authentik_version}" ports = [ "http", "https", @@ -70,7 +70,7 @@ job "authentik" { driver = "docker" config { - image = "ghcr.io/goauthentik/server:2023.6.1" + image = "ghcr.io/goauthentik/server:${var.authentik_version}" command = "worker" } @@ -111,3 +111,8 @@ variable "secret_key" { type = string default = "uUzCYhGV93Z8wKLAScuGFqBskxyzSfG4cz6bnXq6McM67Ho7p9" } + +variable "authentik_version" { + type = string + default = "2023.10.4" +}