Update environment variable placement.
SyedAbbuTurab opened this issue · 2 comments
SyedAbbuTurab commented
I'm working on a Serverless framework service along with the Yandex cloud platform. I tend to use the environment variables mostly and pass them while deployment. Basically, In the serverless.yml file provider section, we can provide the environment configuration but it's not working. Anyhow, I tried another possible way that is to assign the same environment variable to each function then it's working, It does cost me extra lines of code though!.
provider:
name: yandex-cloud
runtime: nodejs14
stage: ${self:custom.currentStage}
environment:
STAGE: ${opt: stage}
SyedAbbuTurab commented
Is there any update on this?
DavyJohnes commented
Is there any update on this?
Not yet, sorry. Will take a look at this next week.