Skip to content

Commit

Permalink
Fix: Changed the AWS config env variables from object to string (#2259)
Browse files Browse the repository at this point in the history
* Fix: change env variables from obj to string

This resolves the error faced in staging for the discord command developed by me /grant-aws-access, we were facing this issue when running this in stgaging, this is becuase in the node-config the values were being set as obj with name field as the actual value

* Lint-fix, removed extra line
  • Loading branch information
vikhyat187 authored Nov 19, 2024
1 parent a8290ea commit 4d9c711
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions config/custom-environment-variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,10 @@ module.exports = {
},

aws: {
region: {
__name: "AWS_REGION",
},
access_key: {
__name: "AWS_ACCESS_KEY",
},
secret_key: {
__name: "AWS_SECRET_KEY",
},
identity_store_id: {
__name: "IDENTITY_STORE_ID",
},
region: "AWS_REGION",
access_key: "AWS_ACCESS_KEY",
secret_key: "AWS_SECRET_KEY",
identity_store_id: "IDENTITY_STORE_ID",
},

enableFileLogs: {
Expand Down

0 comments on commit 4d9c711

Please sign in to comment.