You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to define the Environment section in the Function for the envars to show up during execution. Only the variables in the Environment section will be read from the file and show up in the execution
My
template.yaml
looks like this:The
env.json
looks like this:The
test.js
file looks like this:I am running the command as:
sam local start-api --env-vars env.json
The out put in the terminal does not show the env vars from the file specified above. I am using OSX and
[email protected]
.The text was updated successfully, but these errors were encountered: