aws / aws/apprunner-roadmap

Request: Allow to set environment variables for the build stage from the web console.

Open
#229 5 comments 23 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
301
Forks
15
PR merge metrics
No merged PRs in 30d

Description

**Community Note**
* Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do * not help prioritize the request
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?

**Ability to pass environment variables for the build stage in App Runner directly from the web console**.

Use case:

I have 2 App Runner services, one for production and one for stage. Each one of these require specific environment variables for the application to build propertly. I can't use a single `apprunner.yml` configuration file because there is no way to specify the correct environment variables for each service. Having the ability to pass environment variables in the build stage per service will solve this problem.

![image](https://github.com/aws/apprunner-roadmap/assets/60404954/8b35ceb5-7cae-4ec5-92e9-0df30b141e59)

**Describe alternatives you've considered**

Allow to set a path to the `apprunner.yml` file when creating the service as an alternative to it being automatically read by App Runner, that way we could specify where is the file in the repository for each service. For example: `apprunner.prod.yml` and `apprunner.stage.yml`.

![image](https://github.com/aws/apprunner-roadmap/assets/60404954/3abdaaa7-4e47-4b65-9978-34f6eaae3a03)

**Additional context**
Anything else we should know?

This is a related issue: https://github.com/aws/apprunner-roadmap/issues/182

Thanks!.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.