diff --git a/server/terraform/main.tf b/server/terraform/main.tf index 665552a7..a4b7d665 100644 --- a/server/terraform/main.tf +++ b/server/terraform/main.tf @@ -13,6 +13,7 @@ resource "juju_application" "testflinger" { config = { external_hostname = var.external_ingress_hostname max_pool_size = var.max_pool_size + jwt_signing_key = var.jwt_signing_key } } diff --git a/server/terraform/variables.tf b/server/terraform/variables.tf index 6738491f..c60ad467 100644 --- a/server/terraform/variables.tf +++ b/server/terraform/variables.tf @@ -42,6 +42,12 @@ variable "max_pool_size" { default = 100 } +variable "jwt_signing_key" { + description = "The signing key for JWT tokens" + sensitive = true + type = string +} + locals { app_model = "testflinger-${var.environment}" }