Skip to content

Commit

Permalink
Add jwt_signing_key as a supported terraform variable (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
plars authored Dec 10, 2024
1 parent 8edf971 commit bdd88ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions server/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down
6 changes: 6 additions & 0 deletions server/terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}

0 comments on commit bdd88ff

Please sign in to comment.