This feature is in Public Preview.
This command is only available on Astro.
--name to create a Dag bundle, or --mount-path to create a non-Dag bundle.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Create a Dag or non-Dag bundle on an Astro Deployment.
--name to create a Dag bundle, or --mount-path to create a non-Dag bundle.
astro deployment bundle create
| Option | Description | Possible Values |
|---|---|---|
--deployment-id | The Deployment where you want to create the bundle. Required. | Any valid Deployment ID |
--name | Name of the Dag bundle to create. Mutually exclusive with --mount-path. | Any string, 1-32 lowercase alphanumeric characters, dashes, and underscores |
--mount-path | Mount path for a non-Dag bundle. Mutually exclusive with --name. | Any valid absolute path |
--bundle-type | Type of a non-Dag bundle, such as dbt. Only valid with --mount-path. | Any string. Defaults to none. |
--dag-bundle-ids | Dag bundle IDs a non-Dag bundle is served alongside. Only valid with --mount-path. | Comma-separated list of Dag bundle IDs |
--description | Description for the bundle. | Any string |
--workspace-id | Create the bundle in a Deployment that is not in your current Workspace. | Any valid Workspace ID |
# Create a named Dag bundle
astro deployment bundle create --deployment-id <deployment-id> --name finance
# Create a non-Dag bundle mounted at a path
astro deployment bundle create --deployment-id <deployment-id> --mount-path /usr/local/airflow/dbt/revenue --bundle-type dbt
Was this page helpful?