Build a Serverless App with Cloud Run that Creates PDF Files Reviews

48585 reviews

Satin M. · Reviewed about 1 month ago

Overall Feedback: Great lab on event-driven architecture with Cloud Run and Pub/Sub, but there are two significant IAM/service account blockers in Task 4 that prevent users from completing the steps as written. Issue 1: Missing permission for Cloud Storage to publish to Pub/Sub Description: When running the gsutil notification create command, it fails with a BadRequestException: 400 because the Cloud Storage service account lacks permission to publish to the newly created new-doc topic. Suggested Fix: Please update the instructions to explicitly grant the roles/pubsub.publisher role to the Storage Service Agent before creating the notification. Code fix: Bash GCS_SA=$(gcloud storage service-agent) gcloud pubsub topics add-iam-policy-binding new-doc \ --member="serviceAccount:$GCS_SA" \ --role="roles/pubsub.publisher" Issue 2: Pub/Sub Service Agent does not exist when applying IAM permissions Description: When attempting to grant the iam.serviceAccountTokenCreator role to the Pub/Sub service account (service-[PROJECT_NUMBER]@gcp-sa-pubsub.iam.gserviceaccount.com), the command fails with INVALID_ARGUMENT: Service account... does not exist. Enabling the Pub/Sub API does not provision this identity fast enough (or at all) in the lab environment. Suggested Fix: Please add a command to explicitly force the creation of the Pub/Sub service identity prior to the IAM binding step. Code fix: Bash gcloud beta services identity create --service=pubsub.googleapis.com --project=$GOOGLE_CLOUD_PROJECT Minor Note on Deprecation: The lab still relies heavily on gsutil mb and gsutil notification create, which throws multiple console warnings recommending the newer gcloud storage CLI. Updating these to gcloud storage buckets create would make the output cleaner for students.

Sangeeth P. · Reviewed about 1 month ago

Felipe S. · Reviewed about 1 month ago

Christopher K. · Reviewed about 1 month ago

Roger R. · Reviewed about 1 month ago

gopi krishna A. · Reviewed about 1 month ago

there is not enough time to complete these labs

Ramon L. · Reviewed about 1 month ago

Aasheesh K. · Reviewed about 1 month ago

Abhiram R. · Reviewed about 1 month ago

Fiona Jovita S. · Reviewed about 1 month ago

Aristo V. · Reviewed about 1 month ago

Amardeep S. · Reviewed about 1 month ago

Fernando G. · Reviewed about 1 month ago

shweta s. · Reviewed about 1 month ago

Ramanathan M. · Reviewed about 1 month ago

Mark W. · Reviewed about 1 month ago

Nice

Sunil W. · Reviewed about 1 month ago

Sandro L. · Reviewed about 1 month ago

Mrinalika K. · Reviewed about 1 month ago

John C. · Reviewed about 1 month ago

John C. · Reviewed about 1 month ago

Jim S. · Reviewed about 1 month ago

Rubén M. · Reviewed about 1 month ago

Weglesson M. · Reviewed about 1 month ago

sachin j. · Reviewed about 1 month ago

We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.