aws / apprunner-roadmap

This is the public roadmap for AWS App Runner.
https://aws.amazon.com/apprunner/
Other
298 stars 14 forks source link

Decouple env var from apprunner.yaml #29

Open robmarkcole opened 3 years ago

robmarkcole commented 3 years ago

Community Note

Tell us about your request Have an apprunner.yaml file with some of the core info such as the language runtime, etc and decoupling the env variable for convenience/secrecy which can be set independently via the console.

Describe alternatives you've considered Discussion on https://github.com/aws-containers/hello-app-runner/issues/4

Additional context NA

Attachments None

toricls commented 3 years ago

+1. The ability to define env vars in apprunner.yaml is useful but it would be helpful to me if it allows to override env vars declared in apprunner.yaml by the API or the management console.

mattpmoreno commented 2 years ago

has there been any movement on this issue? It would seem pretty straightforward that env variable be defined in AppRunner service page AND/OR in the yaml file...

adamauckland commented 4 months ago

I'm finding it hard to believe this issue has remained open for 3 years and there's still no way to set ENV vars through the console. I have an apprunner.yaml and I need to specify different settings for my TEST environment vs PRODUCTION.

There doesn't seem to be any way to run the same codebase on several instances of App Runner

UnderpantsGnome commented 4 months ago

I have no idea when this was added, but you can add up to 50 ENV vars or secrets via the UI or CLI.

Screenshot 2024-05-18 at 6 51 46 PM

adamauckland commented 4 months ago

I have no idea when this was added, but you can add up to 50 ENV vars or secrets via the UI or CLI.

Screenshot 2024-05-18 at 6 51 46 PM

Thanks, @UnderpantsGnome , you are right, but only if you don't use apprunner.yaml and configure an OCI and build manually, which defeats the point of AppRunner which is a rapid, "serverless" solution.

If you use apprunner.yaml, there is no way to add extra environment variables!

UnderpantsGnome commented 4 months ago

@adamauckland apologies, we're not using apprunner.yml in any of our services (we deploy from ECR), and that seems to be the one step that stops you from adding ENV vars. :(

adamauckland commented 4 months ago

@adamauckland apologies, we're not using apprunner.yml in any of our services (we deploy from ECR), and that seems to be the one step that stops you from adding ENV vars. :(

Yeah, I'm using docker compose in development, so maybe I just need to push the main container up, just seems like I shouldn't have to! 😆 like nobody thought "Hang on, people might want to deploy this to different environments with different settings"

GitHunter0 commented 1 month ago

App Runner is a really great product, I just wish it would have a way more active development to fix issues like this...