env-vars upload
Set the environment variables for an application based on a file in either dotenv
or json
format.
You must specify an apply-strategy
for your upload process. They can either be applied immediately
or on the next deployment
.
Options
Argument | Required? | Default | Description |
---|---|---|---|
--stack, -s <application name> | yes | — | Full or partial name of the application |
--file-type <type> | yes | — | The format of the source file containing the list of environment variables (dotenv or json) |
--file <filename> | yes | — | The filename of the file being uploaded |
--apply-strategy <strategy> | no | — | Sets when uploaded changes will be applied (immediately, deployment) |
--delete | no | — | Delete any user-generated variables that don’t appear in file |