Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
Generate access list tfschema
Browse files Browse the repository at this point in the history
  • Loading branch information
strideynet committed May 2, 2024
1 parent 6cd44bd commit 5edbf0e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions terraform/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,15 @@ endif
--terraform_out=config=protoc-gen-terraform-devicetrust.yaml:./tfschema \
teleport/legacy/types/device.proto

# @protoc \
# -I$(API_MOD_PATH)/proto \
# -I$(PROTOBUF_MOD_PATH) \
# --plugin=$(GENTERRAFORMPATH)/protoc-gen-terraform \
# --terraform_out=config=protoc-gen-terraform-accesslist.yaml:./tfschema \
# teleport/accesslist/v1/accesslist.proto
@protoc \
-I$(API_MOD_PATH)/proto \
-I$(PROTOBUF_MOD_PATH) \
--plugin=$(GENTERRAFORMPATH)/protoc-gen-terraform \
--terraform_out=config=protoc-gen-terraform-accesslist.yaml:./tfschema \
teleport/accesslist/v1/accesslist.proto

mv ./tfschema/github.com/gravitational/teleport/api/gen/proto/go/teleport/loginrule/v1/loginrule_terraform.go ./tfschema/loginrule/v1/
# mv ./tfschema/github.com/gravitational/teleport/api/gen/proto/go/teleport/accesslist/v1/accesslist_terraform.go ./tfschema/accesslist/v1/
mv ./tfschema/github.com/gravitational/teleport/api/gen/proto/go/teleport/accesslist/v1/accesslist_terraform.go ./tfschema/accesslist/v1/
mv ./tfschema/github.com/gravitational/teleport/api/types/device_terraform.go ./tfschema/devicetrust/v1/
rm -r ./tfschema/github.com/
@go run ./gen/main.go
Expand Down

0 comments on commit 5edbf0e

Please sign in to comment.