From 5947ffbf988a4fa33491129829c676194c41c080 Mon Sep 17 00:00:00 2001 From: Jamil Date: Sat, 6 Jul 2024 20:58:31 -0700 Subject: [PATCH] chore(infra): remove double secret "SECRET_KEY_BASE" (#5728) (#5729) This is a duplicate var that is replaced with the base64 version just below it. Co-authored-by: FTB_lag --- terraform/environments/production/portal.tf | 4 ---- terraform/environments/staging/portal.tf | 4 ---- 2 files changed, 8 deletions(-) diff --git a/terraform/environments/production/portal.tf b/terraform/environments/production/portal.tf index 0b2141c99..c4751a982 100644 --- a/terraform/environments/production/portal.tf +++ b/terraform/environments/production/portal.tf @@ -230,10 +230,6 @@ locals { value = google_sql_user.firezone.password }, # Secrets - { - name = "SECRET_KEY_BASE" - value = random_password.secret_key_base.result - }, { name = "TOKENS_KEY_BASE" value = base64encode(random_password.tokens_key_base.result) diff --git a/terraform/environments/staging/portal.tf b/terraform/environments/staging/portal.tf index ea8d3fca0..3b595b93e 100644 --- a/terraform/environments/staging/portal.tf +++ b/terraform/environments/staging/portal.tf @@ -203,10 +203,6 @@ locals { value = google_sql_user.web.password }, # Secrets - { - name = "SECRET_KEY_BASE" - value = random_password.secret_key_base.result - }, { name = "TOKENS_KEY_BASE" value = base64encode(random_password.tokens_key_base.result)