I’ll introduce how to send Google Cloud billing alerts to Slack.
Background: Want to send Google Cloud billing alert emails to Slack
This article is about researching how to configure Google Cloud billing alert emails to be sent to a specific Slack channel.
Notify to Slack using Zapier
Referring to the above article, I set up notifications in the flow Gmail -> Slack.
Notify to Slack using Cloud Pub/Sub and Cloud Functions
With the method described in the above articles, you need to use:
- Cloud Pub/Sub
- Cloud Functions
- Slack Incoming Webhook
Since managing Cloud Functions code and setting up deployment flows is somewhat cumbersome, I haven’t put this into practice.
That’s all from the Gemba.