Skip to content

Commit

Permalink
Fix hard coded secret name that broke dev (#2214)
Browse files Browse the repository at this point in the history
  • Loading branch information
macrael authored Jan 29, 2024
1 parent 7e7c2e0 commit c1c7cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/app-api/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ custom:
dbURL: ${env:DATABASE_URL}
ldSDKKey: ${env:LD_SDK_KEY, ssm:/configuration/ld_sdk_key_feds}
# because the secret is in JSON in secret manager, we have to pass it into jwtSecret when not running locally
jwtSecretJSON: ${env:CF_CONFIG_IGNORED_LOCALLY, ssm:/aws/reference/secretsmanager/api_jwt_secret_wmltestapijwtaccess}
jwtSecretJSON: ${env:CF_CONFIG_IGNORED_LOCALLY, ssm:/aws/reference/secretsmanager/api_jwt_secret_${sls:stage}}
jwtSecret: ${env:JWT_SECRET, self:custom.jwtSecretJSON.jwtsigningkey}
webpack:
webpackConfig: 'webpack.config.js'
Expand Down

0 comments on commit c1c7cb0

Please sign in to comment.