From 3e9811bcf60eb3f273d185e85de3f461adfeb0ae Mon Sep 17 00:00:00 2001 From: Jo Date: Sun, 12 May 2024 14:32:23 -0400 Subject: [PATCH] fixing env variable names --- .github/workflows/deploy-production.yml | 5 +++-- .github/workflows/deploy-staging.yml | 7 +++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 096673a57..ff16548f2 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -159,7 +159,7 @@ jobs: TF_VAR_environment: ${{ vars.ENV_SHORT_NAME }} TF_VAR_name_prefix: "tb-${{ vars.PROJECT_SHORT_NAME }}-${{ vars.ENV_SHORT_NAME }}" TF_VAR_app_env: ${{ vars.APP_ENV }} - TF_VAR_db_encrypted_secret: ${{ vars.DB_ENCRYPTED_SECRET }} + TF_VAR_db_enc_secret: ${{ vars.DB_ENCRYPTED_SECRET }} TF_VAR_frontend_url: ${{ vars.FRONTEND_URL }} TF_VAR_fxa_secret: ${{ vars.FXA_SECRET }} TF_VAR_google_oauth_secret: ${{ vars.GOOGLE_OAUTH_SECRET }} @@ -167,7 +167,8 @@ jobs: TF_VAR_short_base_url: ${{ vars.SHORT_BASE_URL }} TF_VAR_smtp_secret: ${{ vars.SMTP_SECRET }} TF_VAR_zoom_callback: ${{ vars.ZOOM_CALLBACK }} - TF_VAR_zoom_secret: ${{ vars.zoom_secret }} + TF_VAR_zoom_secret: ${{ vars.ZOOM_SECRET }} + TF_VAR_sentry_dsn: ${{ vars.SENTRY_DSN }} steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index ea61dc00a..e8cf28a20 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -148,6 +148,8 @@ jobs: role-to-assume: ${{ secrets.IAM_ROLE }} role-session-name: Appointment_GitHub_to_AWS_via_FederatedOIDC aws-region: ${{ vars.AWS_REGION }} + + deploy-backend: needs: @@ -161,7 +163,7 @@ jobs: TF_VAR_environment: ${{ vars.ENV_SHORT_NAME }} TF_VAR_name_prefix: "tb-${{ vars.PROJECT_SHORT_NAME }}-${{ vars.ENV_SHORT_NAME }}" TF_VAR_app_env: ${{ vars.APP_ENV }} - TF_VAR_db_encrypted_secret: ${{ vars.DB_ENCRYPTED_SECRET }} + TF_VAR_db_enc_secret: ${{ vars.DB_ENCRYPTED_SECRET }} TF_VAR_frontend_url: ${{ vars.FRONTEND_URL }} TF_VAR_fxa_secret: ${{ vars.FXA_SECRET }} TF_VAR_google_oauth_secret: ${{ vars.GOOGLE_OAUTH_SECRET }} @@ -169,7 +171,8 @@ jobs: TF_VAR_short_base_url: ${{ vars.SHORT_BASE_URL }} TF_VAR_smtp_secret: ${{ vars.SMTP_SECRET }} TF_VAR_zoom_callback: ${{ vars.ZOOM_CALLBACK }} - TF_VAR_zoom_secret: ${{ vars.zoom_secret }} + TF_VAR_zoom_secret: ${{ vars.ZOOM_SECRET }} + TF_VAR_sentry_dsn: ${{ vars.SENTRY_DSN }} steps: - uses: actions/checkout@v4