Skip to main content

astro deployment airflow-variable list

List the Airflow variables stored in a Deployment's metadata database.

Usage

astro deployment airflow-variable list

This command only lists Airflow variables that were configured through the Airflow UI or otherwise stored in the Airflow metadata database.

Options

OptionDescriptionPossible Values
-d,--deployment-idThe ID of the Deployment to list Airflow variables for.Any valid Deployment ID
--deployment-nameThe name of the Deployment to list Airflow variables for. Use as an alternative to <deployment-id>.Any valid Deployment name
-w,--workspace-idList Airflow variables for a Deployment that is not in your current Workspace. If not specified, your current Workspace is assumed.Any valid Workspace ID

Output

OutputDescriptionData Type
KEYThe key of the variable's key:value pair.String
DESCRIPTIONThe optional description of the variable.String

Examples

# List airflow variables stored in the Deployment with an ID of cl03oiq7d80402nwn7fsl3dmv
astro deployment airflow-variable list --deployment-id cl03oiq7d80402nwn7fsl3dmv

# List airflow variables stored in the Deployment "My Deployment"
astro deployment airflow-variable list --deployment-name="My Deployment"

Was this page helpful?

Sign up for Developer Updates

Get a summary of new Astro features once a month.

You can unsubscribe at any time.
By proceeding you agree to our Privacy Policy, our Website Terms and to receive emails from Astronomer.