Skip to content

Commit ccf19fb

Browse files
committed
regenerate plugin proto with correct tooling
The proto file is structurally unchanged, though it now requires a go import path option.
1 parent b6980c2 commit ccf19fb

3 files changed

Lines changed: 3673 additions & 2002 deletions

File tree

‎docs/plugin-protocol/tfplugin5.2.proto‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
// branch or any other development branch.
1818
//
1919
syntax = "proto3";
20+
option go_package = "github.com/hashicorp/terraform/internal/tfplugin5";
2021

2122
package tfplugin5;
2223

‎internal/tfplugin5/generate.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
1313

1414
cd "$DIR"
1515

16-
protoc -I ./ tfplugin5.proto --go_out=plugins=grpc:./
16+
protoc --go_out=paths=source_relative,plugins=grpc:. ./tfplugin5.proto

0 commit comments

Comments
 (0)