hardgcloud

Export a Cloud Build trigger configuration to a YAML file

command

gcloud builds triggers export TRIGGER_ID --destination FILE

also accepted

gcloud builds triggers export

Command breakdown

Part of the Google Cloud CLI (gcloud) — Cloud Build category.

gcloudbuildstriggersexportTRIGGER_ID--destinationFILE
FlagPurpose
--destinationBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →