I had a problem where my env vars were not updating, and it seems you must deploy using sls deploy
(not sls deploy function
). I don’t know if that was your issue, but it solved it for me!
http://forum.serverless.com/t/accessing-stage-or-env-variables-in-lambda/911/7