sincecutoff.com
← all changes

gcloud beta run adds --dry-run validation for deploy, update and delete commands

Introduced 2026-06-30 · score 0.91

HOW TO USE IT

When you need to validate a Cloud Run service or worker-pool configuration without persisting changes, add `--dry-run` to one of the documented deploy, update, or delete commands. Provide the resource name and configuration arguments required for that command.

gcloud beta run deploy <SERVICE> --image=<IMAGE> --dry-run
gcloud beta run services update <SERVICE> --dry-run
gcloud beta run worker-pools deploy <WORKER_POOL> --image=<IMAGE> --dry-run

WHY THIS HELPS

Validate Cloud Run service or worker-pool configuration without persisting changes.

REQUIREMENTS AND LIMITATIONS

  • Availability: beta
  • --dry-run: Optional flag on the listed commands; validates configuration without persisting changes.
  • SERVICE (required): Service name positional argument for service deploy, update, and delete commands; deploy also requires an image or source configuration.
  • WORKER_POOL (required): Worker-pool name positional argument; deploy also requires image or source configuration.
  • --image: Specifies the container image for deployment; deployment commands also document `--source` as an alternative.
  • The validation does not persist changes.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card