Skip to content

🏗️ A simple Google Cloud Function in Go to transform / proxy Terraform Cloud / Enterprise (TFE) webhook notifications to Microsoft Teams.

License

Notifications You must be signed in to change notification settings

Courtsite/tfe-to-teams

Repository files navigation

tfe-to-teams

🏗️ A simple Google Cloud Function in Go to transform / proxy Terraform Cloud / Enterprise (TFE) webhook notifications to Microsoft Teams.

This project is not feature complete, and it does not handle many cases. It has been tested with the Go 1.13 and 1.22 runtime.

Notification in Teams

Getting Started

Prerequisites

  • Ensure you have gcloud installed:
  • Ensure you have authenticated with Google Cloud: gcloud init
  • (Optional) Set your current working project: gcloud config set project <project>

Deployment

  1. Clone / download a copy of this repository
  2. Copy .env.sample.yaml to .env.yaml, and modify the environment variables declared in the file
  3. Run ./deploy.sh
  4. Configure TFE webhook notifications in https://app.terraform.io/app/<organisation>/workspaces/<workspace>/settings/notifications

TFE Create a Notification

About

🏗️ A simple Google Cloud Function in Go to transform / proxy Terraform Cloud / Enterprise (TFE) webhook notifications to Microsoft Teams.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published