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

48585 avis

Satin M. · Examiné il y a environ un mois

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. · Examiné il y a environ un mois

Felipe S. · Examiné il y a environ un mois

Christopher K. · Examiné il y a environ un mois

Roger R. · Examiné il y a environ un mois

gopi krishna A. · Examiné il y a environ un mois

there is not enough time to complete these labs

Ramon L. · Examiné il y a environ un mois

Aasheesh K. · Examiné il y a environ un mois

Abhiram R. · Examiné il y a environ un mois

Fiona Jovita S. · Examiné il y a environ un mois

Aristo V. · Examiné il y a environ un mois

Amardeep S. · Examiné il y a environ un mois

Fernando G. · Examiné il y a environ un mois

shweta s. · Examiné il y a environ un mois

Ramanathan M. · Examiné il y a environ un mois

Mark W. · Examiné il y a environ un mois

Nice

Sunil W. · Examiné il y a environ un mois

Sandro L. · Examiné il y a environ un mois

Mrinalika K. · Examiné il y a environ un mois

John C. · Examiné il y a environ un mois

John C. · Examiné il y a environ un mois

Jim S. · Examiné il y a environ un mois

Rubén M. · Examiné il y a environ un mois

Weglesson M. · Examiné il y a environ un mois

sachin j. · Examiné il y a environ un mois

Nous ne pouvons pas certifier que les avis publiés proviennent de consommateurs qui ont acheté ou utilisé les produits. Les avis ne sont pas vérifiés par Google.