Open svenschwermer opened 4 years ago
I hit this issue today but there is an easy workaround - compile all your Protobufs into a single file descriptor (.pb
file). I believe it might be a recommended approach actually as executing gcloud endpoints services deploy
with one API config YAML file and multiple file descriptor was failing for me (the error was "Cannot resolve api 'my.api.MyService'" as if one file descriptor was overwriting the other). On the other hand, gcloud endpoints services deploy
usage suggests it's possible to provide multiple file descriptors...
Related to this: it's impossible to set multiple grpc_config
files, which is possible using gcloud
and the underlying API.
Currently, the only workaround seems to be to use local-exec
in combination with gcloud
.
Assuming this is feasible since it is already an option in gcloud
Community Note
Description
google_endpoints_service only allows to specify one protoc compiled descriptor file (
protoc_output_base64
). Neither the underlying API nor thegcloud endpoints services deploy
command have this limitation.New or Affected Resource(s)
Potential Terraform Configuration
References
b/356678270