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
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!.
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}
The text was updated successfully, but these errors were encountered: