gcloud composer environments Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud composer environments - create and manage Cloud Composer environments
- SYNOPSIS
gcloud composer environmentsGROUP|COMMAND[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- The gcloud composer environments command group lets you create Cloud Composerenvironments containing an Apache Airflow setup. Additionally, the command groupsupports environment updates including varying number of machines used to runAirflow, setting Airflow configs, or installing Python dependencies used inAirflow DAGs. The command group can also be used to delete Composerenvironments.
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$gcloud helpfor details. - GROUPS
is one of the following:GROUPsnapshots- Save and load snapshots of environment.
storage- Manage Cloud Storage objects stored as part of Cloud Composer environments.
user-workloads-config-maps- Create and manage user workloads ConfigMaps of environment.
user-workloads-secrets- Create and manage user workloads Secrets of environment.
- COMMANDS
is one of the following:COMMANDcheck-upgrade- Check that upgrading a Cloud Composer environment does not result in PyPI moduleconflicts.
create- Create and initialize a Cloud Composer environment.
database-failover- Run a database failover operation.
delete- Delete one or more Cloud Composer environments.
describe- Get details about a Cloud Composer environment.
fetch-database-properties- Fetch database properties.
list- List the Cloud Composer environments under a project and location.
list-packages- List all PyPI modules installed in an Airflow worker.
list-upgrades- List the Cloud Composer image version upgrades for a specific environment.
list-workloads- List Composer workloads, supported in Composer 3 environments or greater.
restart-web-server- Restart web server for a Cloud Composer environment.
run- Run an Airflow sub-command remotely in a Cloud Composer environment.
update- Update properties of a Cloud Composer environment.
- NOTES
- These variants are also available:
gcloudalphacomposerenvironmentsgcloudbetacomposerenvironments
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-15 UTC.