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

[Deploy] environment variables #17

Open
petermikitsh opened this issue Mar 12, 2019 · 0 comments
Open

[Deploy] environment variables #17

petermikitsh opened this issue Mar 12, 2019 · 0 comments

Comments

@petermikitsh
Copy link
Member

Deployments aren't too useful if you can't attach environment variables to them.

Acceptance criteria for this issue:

The snow deploy command will recognize the following values in now.json:

    "env": {
      "MY_KEY": "this is the value",
      "SECRET": "@my-secret-name"
    }

Keys will have a 1:1 map with environment variable names.

Values that begin with @ will reference a secret by the same name, e.g.,

@my-secret-name refers to secret my-secret-name.

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

No branches or pull requests

1 participant