Channels
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
general
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
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.
Post