Questions tagged [event-arc]

41 questions
5
votes
1 answer

GCP EventArc trigger for Firestore doc creation limited to specific collection?

I see in the GCP console that I can now create EventArc triggers on Firestore document creation using the method google.firestore.v1.Firestore.CreateDocument but how do I filter to only documents of a specific collection? I assume I need to provide…
5
votes
2 answers

Google Cloud Run - Trigger with Eventarc API (resourceName syntax)

Google recently released the new Eventarc API trigger for e.g Cloud run. I had the idea to build one trigger for my cloud storage like: new file in bucket → trigger cloud run (with audit log trigger) cloud_run_path:…
4
votes
1 answer

How to create an eventarc trigger in terraform for GCS?

I would like to create an eventarc trigger for GCS object creation. According to the Eventarc documentation, this should use the direct GCS trigger. I can create it like this, but I don't know where to put the bucket name: resource…
Florian Feldhaus
  • 5,567
  • 2
  • 38
  • 46
4
votes
1 answer

Eventarc API Firestore Triggers in european region not working?

What I want to achieve I am trying to setup an Eventarc trigger. A specific Firestore action (deletion of a document) should trigger a Cloud Run service instance. My problem The service should be provided in europe but... Eventarc is only supported…
4
votes
0 answers

Creating eventarc triggers for Firebase Auth events

I tried to create a trigger for user deletes (Firebase Auth) that should call my Cloud Run instance but it seems that it doesn't trigger even after the 10 minutes. This is how I created the trigger: gcloud eventarc triggers create on-delete-user \ …
3
votes
1 answer

Why is Eventarc trigger not working in Firebase?

In Firebase I have installed extension Resize Images which claims to send an event upon completion: firebase.extensions.storage-resize-images.v1.complete I have created a function trigger to handle this event: exports.onimageresized2 =…
3
votes
3 answers

For Cloud Run triggered from PubSub, when is the right time to send ACK for the request message?

I was building a service that runs on Cloud Run that is triggered by PubSub through EventArc. 'PubSub' guarantees delivery at least one time and it would retry for every acknowledgement deadline. This deadline is set in the queue subscription…
vzurd
  • 1,416
  • 2
  • 15
  • 37
3
votes
2 answers

Receiving an EventArc trigger for a specific GCS bucket only

I'm trying to setup an EventArc trigger on a google cloud run project, to be run whenever a new file is uploaded to a particular bucket. The problem is, I can only get it to work if I choose any resource, i.e files uploaded to any of my buckets…
Ali
  • 261,656
  • 265
  • 575
  • 769
2
votes
0 answers

Cloud Function triggered by multiple firestore databases

Firestore Multiple Databases currently in preview, I'm wondering is it possible to trigger a cloud function from multiple firestore databases. I have tried by replacing the database name with * and {databaseNname} in the function config of the…
1
vote
1 answer

GCP Gen2 Cloud Function Terraform Event Arc Trigger Creating PubSub Topic Error

I am trying to create an event-driven Cloud Function via gen2 terraform utilizing the auditlog event type. Essentially, I would like to trigger the function each time a GCP secret is created. Following this [documentation]…
1
vote
0 answers

Terraform Eventarc Audit Log Trigger

I am trying to trigger a Cloud Run service by uploading a file to a Google Cloud Storage bucket. To do so, an Eventarc trigger was created via Terraform, which filters for storage.objects.create event from the Audit Logs. Google has documentation on…
1
vote
1 answer

How To Use Event Arc Locally For Cloud Run?

So I am switching from cloud functions to Cloud Run and I am trying to figure out how to run Event Arc locally. I know you can set up an emulator for Eventarc using Firebase Emulator but Im not sure to have it trigger one of my Cloud Run functions…
1
vote
3 answers

How to limit number of concurrent workflows running?

The title is pretty much the question. Is there some way to limit the number of concurrent workflows running at any given time? Some background: I'm using eventarc to dispatch a workflow once a message has been sent to a pubsub topic. The workflow…
prismo
  • 1,505
  • 2
  • 12
  • 26
1
vote
0 answers

GCP - Eventarc not triggering Cloud Run - permission_denied

I have configured Eventarc to listen for event like - google.cloud.bigquery.v2.JobService.InsertJob It was working fine until a few days back. When an insert operation takes place in BigQuery, Eventarc was triggering a Cloud Run application which in…
loki
  • 976
  • 1
  • 10
  • 22
1
vote
1 answer

How to apply Path Patterns in GCP Eventarc for BigQuery service's jobCompleted method?

I am developing a solution where a cloud function calls BigQuery procedure and upon successful completion of this stored proc trigger another cloud function. For this I am using Audit Logs "jobservice.jobcompleted" method. Problem with this…
1
2 3