> ## Documentation Index
> Fetch the complete documentation index at: https://deployz.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Change a customer's configuration

> Set or change the environment variable values that one customer's deployments use.

Each deployment runs with your application's default values plus any **customer overrides** you set for that customer. An override replaces your default for that customer only. It applies to every deployment of this application for that customer, including a test deployment you created for that customer. Use overrides for a value that differs per customer, such as a license key or a customer-specific URL, or to correct a value your customer entered during install.

To change the defaults for every customer, or to decide who provides each variable, see [Configure environment variables](https://deployz.dev/docs/prepare/environment-variables.md).

## Before you start

* The deployment must have completed its install, and its Deployz connector must be **Online**. Deployz refuses to save overrides while any installed deployment of this application for this customer has an offline connector. See [Reconnect or update the Deployz connector](https://deployz.dev/docs/operate/connector.md).
* After a failed operation, **Configuration** appears on the deployment only when the failure is one that a configuration change can fix.

## Change the customer overrides

**Who:** you (the vendor), in the Deployz dashboard.

1. In **Deployments**, open the customer's deployment.
2. Select **Configuration**. The application's configuration page opens for this customer.
3. Select the **Variables** tab. The **Customer overrides** card shows **For `<customer>` only. Overrides the defaults.**
4. Make your changes:
   * To change a value, edit its field. A plain value shows your default under it, for example **Default: `<value>`**, when the two differ.
   * To replace a secret, enter the new value. Secrets are write-only: the field stays masked, and leaving it empty keeps the current secret.
   * To add a value, select **Add value** or **Add secret**, then enter the **Name** and **Value**.
   * To remove a value, select **Remove** next to it. The removal happens when you save. Select **Keep** to undo it before you save.
5. Select **Save overrides**.

> [!NOTE]
>
> Removing a secret override also deletes it from the secret store in your customer's AWS account.

## What happens after you save

Deployz starts a configuration update on every installed deployment of this application for this customer. The new values reach each running deployment within minutes, and the application restarts with the new configuration. The release doesn't change.

While the configuration update runs, the deployment keeps its **Live** badge and headline. **Deploy update**, **Configuration**, and the **More actions** items are unavailable until it finishes. When it finishes, **Recent activity** on the deployment shows **Configuration updated**, or **Configuration update failed** if the restarted application didn't become healthy.

Deploying an update, rolling back, or restarting never changes or resets a deployment's configuration.

### If the configuration update fails

The deployment shows **Update failed**, and the detail page shows **Configuration update failed** with what went wrong. Deployz keeps the values you saved. New secret values are already stored in the secret store in your customer's AWS account, and the application reads them whenever it starts a new task, for example after a restart.

To fix it, correct the value on the configuration page and select **Save overrides** again. That starts a new configuration update.

## Settings that need a new deployment

Configuration covers environment variable values only. You can't change these on an existing deployment:

* **Region.** It's fixed when the deployment is created. See [AWS Regions](https://deployz.dev/docs/share/regions.md).
* **Size.** It's fixed when the deployment is created. Changes on **Size presets** apply only to new install links and new deployments. See [Sizes and AWS cost](https://deployz.dev/docs/share/sizes-and-cost.md).
* **Container port and health check path.** Changes to these application settings apply only to new deployments. An existing deployment keeps the values it was created with.
* **Infrastructure.** Adding a database, a cache, workers, queues (**Preview**), or scheduled jobs (**Preview**) needs a new deployment. See [Changes that need a new deployment](https://deployz.dev/docs/operate/deploy-update.md#changes-that-need-a-new-deployment).

To change any of these, create a new deployment for the customer. The new deployment has its own infrastructure, including its own database, so Deployz doesn't copy data from the old one. Plan how to move any data your customer needs. When the new deployment is in use, [remove the old one](https://deployz.dev/docs/operate/remove.md).

Build-time values are part of the release, not the deployment. A changed build value takes effect only in a new release. See [Configure environment variables](https://deployz.dev/docs/prepare/environment-variables.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.