https://pulumi.com logo
#general
Title
# general
b

bitter-planet-74603

05/06/2019, 4:27 PM
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

rapid-eye-32575

05/06/2019, 4:37 PM
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

bitter-planet-74603

05/06/2019, 5:35 PM
Thanks! That terraform doc looks promising.