tfbuddy

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2022 License: MPL-2.0 Imports: 2 Imported by: 0

README

TF Buddy

TFBuddy allows Terraform Cloud users to get apply-before-merge workflows in their Pull Requests.

Terraform Cloud API Driven Runs

Terraform Cloud (TFC) has a native VCS integration that can trigger plans and applies based for repositories, however it requires a merge after apply workflow that is not desirable in many cases. This tool has been developed to enable a apply-before-merge workflow.

How

This tool provides a server function that processes webhooks from Gitlab/Github, triggers a Run in TFC for the Merge Request and then passes status updates of those back to the Merge/Pull Request in the form of comments.

Architecture

TFBuddy consists of the webhook handler and a NATS cluster.

Building
git clone ssh://git@github.com/zapier/tfbuddy.git
cd tfbuddy
go mod download
go test -v ./...
go build -v

Documentation

To learn more about TF Buddy go to the complete documentation.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pkg
git
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
vcs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL