Open januszm opened 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.
This is an extremely necessary feature, please consider it
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 inapprunner.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.