https://github.com/courtsite/tfe-to-teams
:building_construction: A simple Google Cloud Function in Go to transform / proxy Terraform Cloud / Enterprise (TFE) webhook notifications to Microsoft Teams.
https://github.com/courtsite/tfe-to-teams
connector google-cloud google-cloud-functions microsoft notification teams terraform terraform-cloud terraform-enterprise tfe
Last synced: 2 months ago
JSON representation
:building_construction: A simple Google Cloud Function in Go to transform / proxy Terraform Cloud / Enterprise (TFE) webhook notifications to Microsoft Teams.
- Host: GitHub
- URL: https://github.com/courtsite/tfe-to-teams
- Owner: Courtsite
- License: mit
- Created: 2021-05-11T23:38:05.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-22T23:26:11.000Z (7 months ago)
- Last Synced: 2025-01-18T20:36:59.939Z (4 months ago)
- Topics: connector, google-cloud, google-cloud-functions, microsoft, notification, teams, terraform, terraform-cloud, terraform-enterprise, tfe
- Language: Go
- Homepage:
- Size: 102 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tfe-to-teams
🏗️ A simple Google Cloud Function in Go to transform / proxy [Terraform Cloud / Enterprise (TFE)](https://www.terraform.io/cloud) webhook notifications to [Microsoft Teams](https://teams.microsoft.com/).
_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._

## Getting Started
### Prerequisites
- Ensure you have `gcloud` installed:
- MacOS: `brew cask install google-cloud-sdk`
- Others: https://cloud.google.com/sdk/gcloud
- Ensure you have authenticated with Google Cloud: `gcloud init`
- (Optional) Set your current working project: `gcloud config set 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//workspaces//settings/notifications`