-
Notifications
You must be signed in to change notification settings - Fork 13
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
Environment Variables revamp #247
Comments
I agree the page can be slow. I manage it via Terraform so it is easier. You can already use ParameterStore. |
Hey @neidiom, sorry I completely missed your reply. Yeah managing from Terraform is definitely the best method. I started my deployment without it and there's a few settings I need to create a new instance just to toggle back on.
Yeah I use parameter store for every secret variable, but it's slow and a painful process. And not to mention if it fails you'll have to re-write all of the variables again. My idea was that you can upload a CSV/paste these variables in, so at least have a copied to clipboard version if it fails. But again, like you say, maybe Terraform/IAC tools are just the way to do this if you're wanting to have lots of variables. The one part about the process of IAC for variables is the fact that i'll need to store the variable in plain text on all of my storage states though. So every terraform device will have these secrets. So I need to figure a way to reference an SSM store without resetting the value each time I run Thanks for the reply though! |
You can use
https://registry.terraform.io/providers/hashicorp/aws/3.28.0/docs/data-sources/ssm_parameter So you add it manually and reference a secret as a data source. |
Dang that's great, I thought you had to define the value too for some reason. Thanks man, going to transfer all my App Runner instances to use Pulumi (IAC) and use SSM params in there, life saver! |
Community Note
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Tell us about your request
What do you want us to build?
An improved way of handling environment variables. At the moment my in-development application has reached 50/50 environment variables. The page is so damn slow! Editing an environment takes 5-10 seconds just to type a character. And now I'm at a hard limit of 50 I can't do much. I'm going to be revamp my application, but yikes, really?
A service quota for environment variables would be nice, but a faster editing page for environment variables would be even nicer.
Also, a way to upload a .env file or CSV would be so much more ideal aswell. A few times i've added ~20 env vars at a time, and then the build fails and I have to re-do it all again! What a pain D:
I use SSM Param store for all of my variables, so a way to add all variables on a path would be nice, e.g.
my_app/staging/<variables>
, would be absolutely amazing!Summary of ideas:
Configuration Tab
of a apprunner Service, as 20+ env vars is INSANELY slow on Chrome.Describe alternatives you've considered
2, 3 and 4. Build a custom wrapper/package that does this automatically with the AWS API
Attachments
The text was updated successfully, but these errors were encountered: