-
Notifications
You must be signed in to change notification settings - Fork 185
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
deploy command not picking up deploy.env variables #301
Comments
@gitgrimbo |
Thanks. Is that to say using |
@gitgrimbo |
Ah, so |
Yes. The roles of .env and deploy.env are different. Basically it can be deployed by setting the necessary values in the |
Thanks for your help. |
Should we clarify this better in the docs, or should we close this issue? |
Frankly, they do seem a bit backwards. The .env file is used for doing deployments and deploy.env is used for setting ENV vars.
At our company, we rename deploy.env to `secrets` to make it more clear. Would something like that make sense for the setup command?
Rick
…On May 29, 2017, 8:31 AM -0400, Chase ***@***.***>, wrote:
Should we clarify this better in the docs, or should we close this issue?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
One file is for the secrets that are used to connect to AWS ( |
|
@abetomo if I want to use only |
@forzagreen example:
|
In my
package.json
I have the followingdeploy
command inscripts
:My
deploy.env
is:If I log the key and secret key here I get this:
your_key your_secret
followed by this error:
The security token included in the request is invalid.
I'm not sure what the problem is here. Can I not use a combination of
--configFile
and othernode-lambda
CLI parameters?The env vars are in the params if I print those out:
The text was updated successfully, but these errors were encountered: