Update a Dag or non-Dag bundle on an Astro Deployment.
This command is only available on Astro.
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
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
# Update a bundle's description, identified by IDastro deployment bundle update <bundle-id> --deployment-id <deployment-id> --description "my bundle"# Identify a Dag bundle by name instead of IDastro 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 bundlesastro deployment bundle update --deployment-id <deployment-id> --mount-path /usr/local/airflow/dbt/revenue --dag-bundle-ids <dag-bundle-id>