Integrate Cloud Run Functions with Firestore avis
7037 avis
Kamalkannan G. · Examiné il y a environ un an
Erick O. · Examiné il y a environ un an
Jose Fernando E. · Examiné il y a environ un an
Estefanía A. · Examiné il y a environ un an
Boris Ricardo M. · Examiné il y a environ un an
Aurika T. · Examiné il y a environ un an
Enrique Antonio S. · Examiné il y a environ un an
Luiz T. · Examiné il y a environ un an
Carlos Eduardo R. · Examiné il y a environ un an
Upender T. · Examiné il y a environ un an
Kiran K. · Examiné il y a environ un an
Paige G. · Examiné il y a environ un an
Vishakha Z. · Examiné il y a environ un an
Michal S. · Examiné il y a environ un an
no service account for cloud function and also cannot create one
Kai-Yuan H. · Examiné il y a environ un an
There is an error in the code: student_01_5acd89804cdb@cloudshell:~/firestore_functions (qwiklabs-gcp-00-d0351ee6b8d4)$ gcloud functions deploy newCustomer --gen2 --runtime=nodejs20 --region=us-west1 --trigger-location=us-west1 --source=. --entry-point=newCustomer --trigger-event-filters=type=google.cloud.firestore.document.v1.created --trigger-event-filters=database='(default)' --trigger-event-filters-path-pattern=document='customers/{name}' --set-secrets '/etc/secrets/api_cred/latest=api-cred:latest' Preparing function...done. X Updating function (may take a while)... - [Build] Build in progress... Logs are available at [https://console.cloud.google.com/cloud-build/builds;region=us-west1/03239f01-b6da-4c2a-a44d-2fc6e6553374?project=950238 279318] . [Service] . [Trigger] . [ArtifactRegistry] . [Healthcheck] . [Triggercheck] Failed. ERROR: (gcloud.functions.deploy) OperationError: code=3, message=Build failed with status: FAILURE and message: /workspace/index.js:62 const secret = await fs.readFile('/etc/secrets/api_cred/latest', { encoding: 'utf8' }); ^^^^^ SyntaxError: await is only valid in async functions and the top level bodies of modules at wrapSafe (node:internal/modules/cjs/loader:1281:20) at checkSyntax (node:internal/main/check_syntax:78:3) Node.js v20.16.0. For more details see the logs at https://console.cloud.google.com/cloud-build/builds;region=us-west1/03239f01-b6da-4c2a-a44d-2fc6e6553374?project=950238279318. student_01_5acd89804cdb@cloudshell:~/firestore_functions (qwiklabs-gcp-00-d0351ee6b8d4)$
Marlon C. · Examiné il y a environ un an
It finally worked... I still don't know what was wrong before...
Aurélio C. · Examiné il y a environ un an
Pratip B. · Examiné il y a environ un an
Rizki F. · Examiné il y a environ un an
Steffen P. · Examiné il y a environ un an
no service account for cloud function and also cannot create one
Kai-Yuan H. · Examiné il y a environ un an
Nikhil K. · Examiné il y a environ un an
Mohd A. · Examiné il y a environ un an
Luis G. · Examiné il y a environ un an
Leontinus Y. · Examiné il y a environ un an
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.