Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicholasjackson/waypoint-plugin-tfc
Waypoint Plugin to interact with Terraform Cloud
https://github.com/nicholasjackson/waypoint-plugin-tfc
Last synced: 23 days ago
JSON representation
Waypoint Plugin to interact with Terraform Cloud
- Host: GitHub
- URL: https://github.com/nicholasjackson/waypoint-plugin-tfc
- Owner: nicholasjackson
- Created: 2020-10-21T08:10:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-21T12:57:44.000Z (about 4 years ago)
- Last Synced: 2024-06-20T07:57:38.292Z (5 months ago)
- Language: Go
- Size: 49.8 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Waypoint Plugin Template
This folder contains an example plugin structure which can be used when building your own plugins.
## Steps
1. To scaffold a new plugin use the `./clone.sh` script passing the destination folder and the Go package
for your new plugin as parameters```shell
./clone.sh ../destination_folder github.com/myorg/mypackage
```2. You can then run the Makefile to compile the new plugin
```shell
cd ../destination_foldermake
``````shell
Build Protos
protoc -I . --go_out=plugins=grpc:. --go_opt=paths=source_relative ./builder/output.proto
protoc -I . --go_out=plugins=grpc:. --go_opt=paths=source_relative ./registry/output.proto
protoc -I . --go_out=plugins=grpc:. --go_opt=paths=source_relative ./platform/output.proto
protoc -I . --go_out=plugins=grpc:. --go_opt=paths=source_relative ./release/output.protoCompile Plugin
go build -o ./bin/waypoint-plugin-template ./main.go
```