From bdd88ffe05f48286a303038789de3764621524a7 Mon Sep 17 00:00:00 2001 From: Paul Larson Date: Tue, 10 Dec 2024 15:54:24 -0600 Subject: [PATCH] Add jwt_signing_key as a supported terraform variable (#429) --- server/terraform/main.tf | 1 + server/terraform/variables.tf | 6 ++++++ 2 files changed, 7 insertions(+) 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}" }