Passing lambda environment variables
slotix opened this issue · 1 comments
slotix commented
When creating lambda manually I can pass environment variables like that
aws lambda create-function --function-name hello ... --environment Variables="{VAR1=var1,VAR2=2,VAR3='0.5'}" ...
How to pass them using serverless deploy?
slotix commented
Please disregard this question.
They should be listed in .env and have references in serverless.yml
This way they can be passed to aws successfully.