This is an example provider generated from protoc-gen-gotf.
Install buf.build or protoc
To use protoc instead of buf, do the following before running run.sh
- Comment buf commands and uncomment protoc commands in gen.sh
- Copy gotf.proto to root of repository
Execute run.sh, it will
- Generate protobuf, gRPC files
- Generate terraform provider Go code
- Compile and install terraform provider
- Start gRPC server
init,validate,planandapplyterraform from tfscript directory
At the end of the run, 1 existing user, group and 1 new user, group will be created using terraform.
provider package contains the provider implementation, it uses executors that communicate with example-server