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

# astro deployment bundle update

> Update a Dag or non-Dag bundle on an Astro Deployment.

<Info>
  This feature is in [Public Preview](/docs/astro/feature-previews).
</Info>

<Info>
  This command is only available on Astro.
</Info>

Update a bundle's description, or, for a non-Dag bundle, the Dag bundles it's served alongside. Identify the bundle by its ID argument, its Dag bundle `--name`, or its non-Dag `--mount-path`.

## Usage

```sh wrap theme={null}
astro deployment bundle update <bundle-id>
```

## Options

| Option | Description | Possible Values |
| - | - | - |
| `<bundle-id>` | The ID of the bundle to update. Alternative to `--name` or `--mount-path`. | Any valid bundle ID |
| `--deployment-id` | The Deployment whose bundle you want to update. Required. | Any valid Deployment ID |
| `--name` | Identify the Dag bundle to update by name, instead of by ID. | Any Dag bundle name |
| `--mount-path` | Identify the non-Dag bundle to update by mount path, instead of by ID. | Any valid absolute path |
| `--dag-bundle-ids` | Dag bundle IDs a non-Dag bundle is served alongside. Replaces the existing set. | Comma-separated list of Dag bundle IDs |
| `--description` | New description for the bundle. | Any string |
| `--workspace-id` | Update a bundle in a Deployment that is not in your current Workspace. | Any valid Workspace ID |

## Examples

```sh wrap theme={null}
# Update a bundle's description, identified by ID
astro deployment bundle update <bundle-id> --deployment-id <deployment-id> --description "my bundle"

# Identify a Dag bundle by name instead of ID
astro deployment bundle update --deployment-id <deployment-id> --name finance --description "Finance team Dags"

# Re-associate a non-Dag bundle (identified by mount path) with a different set of Dag bundles
astro deployment bundle update --deployment-id <deployment-id> --mount-path /usr/local/airflow/dbt/revenue --dag-bundle-ids <dag-bundle-id>
```

## Related commands

* [`astro deployment bundle create`](/docs/cli/v1.46/astro-deployment-bundle-create)
* [`astro deployment bundle list`](/docs/cli/v1.46/astro-deployment-bundle-list)
* [`astro deployment bundle delete`](/docs/cli/v1.46/astro-deployment-bundle-delete)
