protoc plugin that generates Terraform Plugin Framework schema definitions and marshalling/copy functions for golang/protobuf .proto files.
This project is HEAVILY inspired by Gravitational's protoc-gen-terraform. However, it is entirely using golang/protobuf and the protogen framework as gogo/protobuf is deprecated.
Installation
go install github.com/liamawhite/protoc-gen-terraform
Usage
Running the plugin is pretty typical for a protoc plugin. See the Makefile for an example.
Annotations
Behavior
Annotation
Optional
Set to true if neither the REQUIRED or OUTPUT_ONLYfield behavior is used.