Open robmarkcole opened 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.
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...
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
I have no idea when this was added, but you can add up to 50 ENV vars or secrets via the UI or CLI.
I have no idea when this was added, but you can add up to 50 ENV vars or secrets via the UI or CLI.
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!
@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 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"
App Runner is a really great product, I just wish it would have a way more active development to fix issues like this...
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