Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

GoogleCloudPlatform/gcf-notification-forwarding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcf-notification-forwarding

This repository contains code for the tutorial: Sending notifications for GCP events. The code will deploy Cloud Functions that

  • Reads messages from a Pub/Sub topic and pushes it to a Cloud Function that serves as a webhook
  • Acts as a webhook

If you already have an existing webhook URL, instead of deploying the code in the webhook folder, you can specify the webhook URL through the WEBHOOK_URL environment variable when you deploy the push notification code instead, via:

gcloud functions deploy pushEventsToWebhook  \
    --runtime=nodejs8 \
    --trigger-topic=$PUBSUB_TOPIC \
    --set-env-vars=WEBHOOK_URL=$WEBHOOK_URL \
    --source=push_notification/

Disclaimer

This is not an officially supported Google product.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published