Skip to content

Commit

Permalink
add missing env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Oct 14, 2024
1 parent 46c0c9c commit 483fd30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ jobs:
RESET_PASSWORD_TOKEN_EXPIRES_IN=${{ secrets.RESET_PASSWORD_TOKEN_EXPIRES_IN }}
EMAIL_CONFIRMATION_TOKEN_SECRET=${{ secrets.EMAIL_CONFIRMATION_TOKEN_SECRET }}
EMAIL_CONFIRMATION_TOKEN_EXPIRES_IN=${{ secrets.EMAIL_CONFIRMATION_TOKEN_EXPIRES_IN }}
SIGN_UP_TOKEN_SECRET=${{ secrets.SIGN_UP_TOKEN_SECRET }}
SIGN_UP_TOKEN_EXPIRES_IN=${{ secrets.SIGN_UP_TOKEN_EXPIRES_IN }}
AWS_SES_ACCESS_KEY_ID=${{ secrets.AWS_SES_ACCESS_KEY_ID }}
AWS_SES_ACCESS_KEY_SECRET=${{ secrets.AWS_SES_ACCESS_KEY_SECRET }}
AWS_SES_DOMAIN=${{ secrets.AWS_SES_DOMAIN }}
Expand Down Expand Up @@ -266,6 +268,7 @@ jobs:
depends_on:
- api
- client
- administration
EOF
- name: Generate zip file
Expand Down
2 changes: 2 additions & 0 deletions infrastructure/modules/env/api_env_vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ locals {
RESET_PASSWORD_TOKEN_EXPIRES_IN = "24h"
EMAIL_CONFIRMATION_TOKEN_SECRET = random_password.email_confirmation_token_secret.result
EMAIL_CONFIRMATION_TOKEN_EXPIRES_IN = "24h"
SIGN_UP_TOKEN_SECRET = random_password.email_confirmation_token_secret.result
SIGN_UP_TOKEN_EXPIRES_IN = "24h"
AWS_SES_ACCESS_KEY_ID = aws_iam_access_key.email_user_access_key.id
AWS_SES_ACCESS_KEY_SECRET = aws_iam_access_key.email_user_access_key.secret
AWS_SES_DOMAIN = module.email.mail_from_domain
Expand Down

0 comments on commit 483fd30

Please sign in to comment.