Deploy a Cloud Run Function via the Command Line Reviews
339943 reviews
hardik z. · Reviewed 6 месяцев ago
Lucas M. · Reviewed 6 месяцев ago
Duban Santiago S. · Reviewed 6 месяцев ago
Luis Gabriel Z. · Reviewed 6 месяцев ago
Qaundo recebi o alerta do service Account só funcional depois que cliquei y e não n como recomendado.
Gisele C. · Reviewed 6 месяцев ago
Milton M. · Reviewed 6 месяцев ago
Daniel M. · Reviewed 6 месяцев ago
Few tasks of this lab are missing detailing and go over assumptions. Could be good for learning effort but some parts may cause failing the lab due to timeouts while trying to figure it out.
Mauricio C. · Reviewed 6 месяцев ago
Дендюк Б. · Reviewed 6 месяцев ago
Jederson C. · Reviewed 6 месяцев ago
Marco Antonio A. · Reviewed 6 месяцев ago
Regina C. · Reviewed 6 месяцев ago
A1_B1_11_Swanandi N. · Reviewed 6 месяцев ago
Roberto Carlos R. · Reviewed 6 месяцев ago
Lukas L. · Reviewed 6 месяцев ago
David S. · Reviewed 6 месяцев ago
A7_40_B2 S. · Reviewed 6 месяцев ago
Gustavo B. · Reviewed 6 месяцев ago
A2_B3_59 S. · Reviewed 6 месяцев ago
Aleksandr N. · Reviewed 6 месяцев ago
Did not get the "serviceAccountTokenCreator" notification... Had to do it manually: student_01_a394bef907c6@cloudshell:~/gcf_hello_world (qwiklabs-gcp-02-82f653f8323c)$ gcloud functions deploy nodejs-pubsub-function \ --gen2 \ --runtime=nodejs22 \ --region=asia-south1 \ --source=. \ --entry-point=helloPubSub \ --trigger-topic cf-demo \ --stage-bucket qwiklabs-gcp-02-82f653f8323c-bucket \ --service-account cloudfunctionsa@qwiklabs-gcp-02-82f653f8323c.iam.gserviceaccount.com \ --allow-unauthenticated Service account [service-598950412986@gcp-sa-pubsub.iam.gserviceaccount.com] is missing the role [roles/iam.serviceAccountTokenCreator]. Pub/Sub needs this role to create identity tokens. For more details, please see https://cloud.google.com/pubsub/docs/push#authentication Bind the role [roles/iam.serviceAccountTokenCreator] to service account [service-598950412986@gcp-sa-pubsub.iam.gserviceaccount.com]? (Y/n)? ERROR: (gcloud.functions.deploy) ResponseError: status=[400], code=[], message=[Service account service-598950412986@gcp-sa-pubsub.iam.gserviceaccount.com does not exist.] student_01_a394bef907c6@cloudshell:~/gcf_hello_world (qwiklabs-gcp-02-82f653f8323c)$ gcloud services enable \ cloudfunctions.googleapis.com \ eventarc.googleapis.com \ pubsub.googleapis.com \ run.googleapis.com Operation "operations/acf.p2-598950412986-b3187be8-5b17-4386-82c1-d8d6cc6ef3c9" finished successfully. student_01_a394bef907c6@cloudshell:~/gcf_hello_world (qwiklabs-gcp-02-82f653f8323c)$ gcloud beta services identity create \ --service=pubsub.googleapis.com \ --project=qwiklabs-gcp-02-82f653f8323c Service identity created: service-598950412986@gcp-sa-pubsub.iam.gserviceaccount.com student_01_a394bef907c6@cloudshell:~/gcf_hello_world (qwiklabs-gcp-02-82f653f8323c)$ gcloud projects add-iam-policy-binding qwiklabs-gcp-02-82f653f8323c \ --member="serviceAccount:service-598950412986@gcp-sa-pubsub.iam.gserviceaccount.com" \ --role="roles/iam.serviceAccountTokenCreator" Updated IAM policy for project [qwiklabs-gcp-02-82f653f8323c]. bindings: [output truncated] student_01_a394bef907c6@cloudshell:~/gcf_hello_world (qwiklabs-gcp-02-82f653f8323c)$ gcloud functions deploy nodejs-pubsub-function --gen2 --runtime=nodejs22 --region=asia-south1 --source=. --entry-point=helloPubSub --trigger-topic cf-demo --stage-bucket qwiklabs-gcp-02-82f653f8323c-bucket --service-account cloudfunctionsa@qwiklabs-gcp-02-82f653f8323c.iam.gserviceaccount.com --allow-unauthenticated Created .gcloudignore file. See `gcloud topic gcloudignore` for details. Preparing function...done. Deploying function... [output truncated] state: ACTIVE updateTime: '2026-05-12T18:13:41.454831828Z' url: https://asia-south1-qwiklabs-gcp-02-82f653f8323c.cloudfunctions.net/nodejs-pubsub-function student_01_a394bef907c6@cloudshell:~/gcf_hello_world (qwiklabs-gcp-02-82f653f8323c)$
Phil R. · Reviewed 6 месяцев ago
Welialdere W. · Reviewed 6 месяцев ago
A19_SAP1_B3_65_Khushboo J. · Reviewed 6 месяцев ago
Rupali M. · Reviewed 6 месяцев ago
Dayquan L. · Reviewed 6 месяцев ago
We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.