Delete a Dag or non-Dag bundle from an Astro Deployment.
This command is only available on Astro.
Delete a Dag bundle or non-Dag bundle from an Astro Deployment. Identify the bundle by its ID argument, its Dag bundle --name, or its non-Dag --mount-path.
Usage
astro deployment bundle delete <bundle-id>
Options
Option
Description
Possible Values
<bundle-id>
The ID of the bundle to delete. Alternative to --name or --mount-path.
Any valid bundle ID
--deployment-id
The Deployment whose bundle you want to delete. Required.
Any valid Deployment ID
--name
Identify the Dag bundle to delete by name, instead of by ID.
Any Dag bundle name
--mount-path
Identify the non-Dag bundle to delete by mount path, instead of by ID.
Any valid absolute path
-f, --force
Delete the bundle without a confirmation prompt.
None
--workspace-id
Delete a bundle from a Deployment that is not in your current Workspace.
Any valid Workspace ID
Examples
# Delete a bundle identified by IDastro deployment bundle delete <bundle-id> --deployment-id <deployment-id># Identify a Dag bundle by nameastro deployment bundle delete --deployment-id <deployment-id> --name finance# Identify a non-Dag bundle by mount pathastro deployment bundle delete --deployment-id <deployment-id> --mount-path /usr/local/airflow/dbt/revenue