-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
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}
andrew-ignatiev
Metadata
Metadata
Assignees
Labels
No labels