Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update environment variable placement. #46

Open
SyedAbbuTurab opened this issue Feb 3, 2022 · 2 comments
Open

Update environment variable placement. #46

SyedAbbuTurab opened this issue Feb 3, 2022 · 2 comments

Comments

@SyedAbbuTurab
Copy link

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
Copy link
Author

Is there any update on this?

@DavyJohnes
Copy link
Contributor

DavyJohnes commented Feb 21, 2022

Is there any update on this?

Not yet, sorry. Will take a look at this next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants