Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment Variables #58

Open
nelsonic opened this issue Feb 27, 2017 · 3 comments
Open

Environment Variables #58

nelsonic opened this issue Feb 27, 2017 · 3 comments

Comments

@nelsonic
Copy link
Member

nelsonic commented Feb 27, 2017

We already have a means of packaging an .env file with environment variables that works well.

AWS Recently introduced support for Environment Variables for Lambda Functions:
http://docs.aws.amazon.com/lambda/latest/dg/env_variables.html

which appear to be supported in the JavaScriptSDK: http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Lambda.html
image

Should we update our deployment to use set them?

@nelsonic
Copy link
Member Author

It has come to our attention that AWS excludes any AWS related environment variables loaded via an .env file ... 🙄
So we have to implement this now!

@nelsonic
Copy link
Member Author

Obviously I can't add this via Lambda: (cause why would they want to make this easy?!)
image

@nelsonic
Copy link
Member Author

Reserved keys:
https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html
image

Basically there is no way we're going to get around this.
I've tried exporting the keys with totally different identifiers, and they get scrubbed by AWS!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant