api:environments:variable-update
Updates an environment variable on an environment.
For more help, see https://cloudapi-docs.acquia.com/ or https://dev.acquia.com/api-documentation/acquia-cloud-site-factory-api for acsf commands.
Usage
acli api:environments:variable-update [--task-wait] [--] <environmentId> <environmentVariableName> <name> <value>
acli api:environments:variable-update 12-d314739e-296f-11e9-b210-d663bd873d93 EXAMPLE_VARIABLE_NAME 'APP_KEY' 'aaaabbbbccccddddeee'
acli api:environments:variable-update myapp.dev EXAMPLE_VARIABLE_NAME 'APP_KEY' 'aaaabbbbccccddddeee'
Arguments
environmentId
Required
The environment identifier. The identifier is a compound key consisting of the internal database ID of the environment and the application UUID. You may also use an environment alias or UUID.
environmentVariableName
Required
The environment variable name.
name
Required
The name of the environment variable to add.
value
Required
The value of the environment variable to add.
Options
--task-wait
Optional
Wait for this task to complete
Defaults to
false--help