Create a Dag or non-Dag bundle on an Astro Deployment.
This command is only available on Astro.
Create a Dag bundle or a non-Dag bundle on an Astro Deployment. Use --name to create a Dag bundle, or --mount-path to create a non-Dag bundle.
Usage
astro deployment bundle create
Options
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
Examples
# Create a named Dag bundleastro deployment bundle create --deployment-id <deployment-id> --name finance# Create a non-Dag bundle mounted at a pathastro deployment bundle create --deployment-id <deployment-id> --mount-path /usr/local/airflow/dbt/revenue --bundle-type dbt