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-rungcloud beta run services update <SERVICE> --dry-rungcloud beta run worker-pools deploy <WORKER_POOL> --image=<IMAGE> --dry-runWHY 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
- https://docs.cloud.google.com/sdk/docs/release-notes#57500_2026-06-30
- https://docs.cloud.google.com/sdk/gcloud/reference/beta/run/deploy
- https://docs.cloud.google.com/sdk/gcloud/reference/beta/run/services/update
- https://docs.cloud.google.com/sdk/gcloud/reference/beta/run/worker-pools/deploy
Check the installed version and the source before using it. Entry JSON