Is there an example of what goes in here <https://...
# general
b
Is there an example of what goes in here https://pulumi.io/reference/pkg/nodejs/@pulumi/gcp/cloudfunctions/#Function-eventTrigger trying to have the trigger be from google's pubsub?
r
Since most of Pulumi's module (?) are imported from Terraform, sometimes their documentation might help a little: https://www.terraform.io/docs/providers/google/d/datasource_cloudfunctions_function.html#event_trigger Here is Google's documentation on how to trigger a cloud function via a GCP event: https://cloud.google.com/functions/docs/calling/pubsub
b
Thanks! That terraform doc looks promising.