pubsub/Gcs Subscription Delivery
Troubleshoot Pub/Sub to Cloud Storage subscription issues.
Product: Cloud Pub/Sub Kind: Debugging Tree
Description
This runbook checks for common configuration problems with Pub/Sub subscriptions that are set up to write directly to a Google Cloud Storage bucket.
Checks performed:
- Subscription existence and type.
- Cloud Storage bucket existence.
- IAM permissions for the Pub/Sub service account on the bucket.
- State of the Pub/Sub subscription.
Executing this runbook
gcpdiag runbook pubsub/gcs-subscription-delivery \
-p project_id=value \
-p subscription_name=value
Parameters
| Name | Required | Default | Type | Help |
|---|---|---|---|---|
project_id |
True | None | str | The Project ID containing the Pub/Sub subscription |
subscription_name |
True | None | str | The Pub/Sub subscription ID |
Get help on available commands
gcpdiag runbook --help