Deploy a Cloud Run Function via the Command Line Reviews

340272 reviews

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

Ricardo A. · Reviewed 6 месяцев ago

25EU08R0200 - C. · Reviewed 6 месяцев ago

KANDREGULA N. · Reviewed 6 месяцев ago

Rodrigo T. · Reviewed 6 месяцев ago

Barbara M. · Reviewed 6 месяцев ago

Exitoso a la primera

Gonzalo Gabriel G. · Reviewed 6 месяцев ago

Manuel M. · Reviewed 6 месяцев ago

Ahmed M. · Reviewed 6 месяцев ago

Adrien J. · Reviewed 6 месяцев ago

todo estuvo bien GAD

Sergio M. · Reviewed 6 месяцев ago

Sergey F. · Reviewed 6 месяцев ago

;;

25EU07R0034 - M. · Reviewed 6 месяцев ago

Tochukwu U. · Reviewed 6 месяцев ago

MADDI S. · 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.