aws / apprunner-roadmap

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

Allow setting ENV vars both in apprunner.yml and web console #177

Open januszm opened 1 year ago

januszm commented 1 year ago

It is sometimes required to set ENV variables only for a given deployment, and not for the entire application. An example is the redirect_uri setting for typical OAuth2 authentication servers, where the full URL is required and the domain for the apprunner is randomly generated. In such a system, there is no point in saving it in apprunner.yml, because the same file can be used for several services.

Alternatively, add an environment variable such as HOSTNAME to Apprunner that holds the app's auto-generated URL and is available at runtime.

TuureKaunisto commented 1 year ago

We would also like to have both so that we can easily deploy from a git repository to staging and production environments which require different environment variables. For now we've settled on only using the console, which has quite many limitations and of course the yml would be much more convenient.

esorribas commented 6 months ago

This is an extremely necessary feature, please consider it