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

[TRI-2208] Bulk import environment variables (v3) #1016

Open
matt-aitken opened this issue Apr 10, 2024 · 2 comments
Open

[TRI-2208] Bulk import environment variables (v3) #1016

matt-aitken opened this issue Apr 10, 2024 · 2 comments
Labels
v3 Only impacts version 3 projects

Comments

@matt-aitken
Copy link
Member

matt-aitken commented Apr 10, 2024

The ability to copy+paste a load of environment variables at once.

Important considerations

  • We have multiple environments, so you'll want to select an environment (or possibly multiple? Possibly a bit weird given they're normally different across environments).
  • What should we do if there's an existing env var in that environment with the same key? Just override? Or possibly it should have a red warning next to it so you can choose to remove it before you confirm?

TRI-2208

@matt-aitken matt-aitken changed the title Bulk import environment variables (v3) [TRI-2208] Bulk import environment variables (v3) Apr 10, 2024
@matt-aitken matt-aitken added the v3 Only impacts version 3 projects label Apr 10, 2024
@pkpio
Copy link
Contributor

pkpio commented Apr 10, 2024

I think vercel's approach should work well enough. Each time you are adding a variable(s), you have the choice of selecting environments to import to.

If a variable already exists in an environment, it refuses to import.

@manurana
Copy link

Maybe also a CLI util (a la SST.dev)

  • import from a file (option of json/env)
  • export to a file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v3 Only impacts version 3 projects
Projects
None yet
Development

No branches or pull requests

3 participants