service_update
Change one Service's Settings and variables in one step. set changes the Settings it names and keeps the rest; env inside set sets the variables it names. Domains are not Settings and are not changed here. Most changes are Staged until the next deploy and can be undone before it. template, autoDeploy, waitForCi, watchPaths and preferredBuilder take effect at once and cannot be undone that way; the result lists them under immediate. A secret's value never passes through here; generate_secret makes a random one. This call asks no human.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | A Service's Settings, in the shape a Service's inspected values take. | |
| unset | No | Settings to return to default, variables to delete (env.KEY), mounts to remove (mounts.VOLUME, configs.CONFIG). | |
| project | No | Project name. | |
| service | Yes | ||
| rename_env | No | Variables to rename, old name to new name. The value moves with it; a secret stays sealed. | |
| environment | No | Environment name, e.g. staging. | |
| expect_revision | No | Writes only if the place is still at this revision. | |
| generate_secret | No | Variables to give a new random sealed secret, as env.KEY. No one sees its value. | |
| update_references | No | With rename_env, also switch the variables that reference a renamed one to its new name. |