🏗️ A simple Google Cloud Function in Go to transform / proxy Terraform Cloud / Enterprise (TFE) webhook notifications to Microsoft Teams.
- Ensure you have
gcloud
installed:- MacOS:
brew cask install google-cloud-sdk
- Others: https://cloud.google.com/sdk/gcloud
- MacOS:
- Ensure you have authenticated with Google Cloud:
gcloud init
- (Optional) Set your current working project:
gcloud config set project <project>
- Clone / download a copy of this repository
- Copy
.env.sample.yaml
to.env.yaml
, and modify the environment variables declared in the file - Run
./deploy.sh
- Configure TFE webhook notifications in
https://app.terraform.io/app/<organisation>/workspaces/<workspace>/settings/notifications