Skip to content

Commit 4d9c711

Browse files
authored
Fix: Changed the AWS config env variables from object to string (#2259)
* 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
1 parent a8290ea commit 4d9c711

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

config/custom-environment-variables.js

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,10 @@ module.exports = {
1212
},
1313

1414
aws: {
15-
region: {
16-
__name: "AWS_REGION",
17-
},
18-
access_key: {
19-
__name: "AWS_ACCESS_KEY",
20-
},
21-
secret_key: {
22-
__name: "AWS_SECRET_KEY",
23-
},
24-
identity_store_id: {
25-
__name: "IDENTITY_STORE_ID",
26-
},
15+
region: "AWS_REGION",
16+
access_key: "AWS_ACCESS_KEY",
17+
secret_key: "AWS_SECRET_KEY",
18+
identity_store_id: "IDENTITY_STORE_ID",
2719
},
2820

2921
enableFileLogs: {

0 commit comments

Comments
 (0)