- NAME
- 
- gcloud deploy apply - applies a yaml configuration containing Delivery Pipeline(s), Target(s), Custom Target Type(s), Deploy Policy(ies), and Automation(s) declarative definitions
 
- SYNOPSIS
- 
- 
gcloud deploy apply--file=FILE[--region=REGION] [GCLOUD_WIDE_FLAG …]
 
- 
- DESCRIPTION
- Applies a yaml configuration containing Delivery Pipeline(s), Target(s), Custom Target Type(s), Deploy Policy(ies), and Automation(s) declarative definitions.
- EXAMPLES
- 
To apply a Cloud Deploy YAML file deploy.yaml:gcloud deploy apply --file=deploy.yaml --region=us-central1
- REQUIRED FLAGS
- 
- --file=- FILE
- Path to yaml file containing Delivery Pipeline(s), Target(s) declarative definitions.
 
- OPTIONAL FLAGS
- 
- 
Location resource - The Cloud region of {resource}. This represents a Cloud
resource. (NOTE) Some attributes are not given arguments in this group but can
be set in other ways.
To set the projectattribute:- 
provide the argument --regionon the command line with a fully specified name;
- 
set the property deploy/regionwith a fully specified name;
- 
provide the argument --projecton the command line;
- 
set the property core/project.
 - --region=- REGION
- 
ID of the location or fully qualified identifier for the location.
To set the regionattribute:- 
provide the argument --regionon the command line;
- 
set the property deploy/region.
 
- 
provide the argument 
 
- 
provide the argument 
 
- 
Location resource - The Cloud region of {resource}. This represents a Cloud
resource. (NOTE) Some attributes are not given arguments in this group but can
be set in other ways.
- GCLOUD WIDE FLAGS
- 
These flags are available to all commands: --access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run $ gcloud helpfor details.
- NOTES
- 
These variants are also available:
gcloud alpha deploy applygcloud beta deploy apply
      gcloud deploy apply
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.