Deploy Environment Variables
Applications can run in different configurations in various projects. For example, an application can work in two different projects with different default languages. For such requirements, the Environment Parameters feature of ACC is used. These parameters can be seen in the ENV Variables
column when listing applications.
Environment Parameters
Adds the environment parameter on the application.
project_id
Project ID
Yes
project_app_id
Application ID
Yes
ENV_KEY
The key of relevant environment parameter
Yes
ENV_VALUE
The value of relevant environment parameter
Yes
--deploy
Deploys the current version to enable environment variables will be changed.
No
Example 1
$ akinoncli projectapp add-env 1 32 DEFAULT_LANG=TR_TR --deploy
It is also can be used with JSON
Example 2
Example 3
Last updated
Was this helpful?