Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Assignees
Labels
enhancement New feature or request

Comments

@ulucinar
Copy link
Collaborator

ulucinar commented Mar 11, 2022

What problem are you facing?

We would like to have an option to prevent the Terraform CLI from forking the native provider plugin for each request, and instead communicate with a long running provider process via gRPC in the context of #38 and #233.

How could Terrajet help solve your problem?

We can extent provider-jet-template and probably the configuration framework in Terrajet with options for configuring Terrajet-based providers to use a shared gRPC server.

@ulucinar ulucinar added the enhancement New feature or request label Mar 11, 2022
@ulucinar ulucinar self-assigned this Mar 11, 2022
@muvaf
Copy link
Member

muvaf commented Mar 17, 2022

One implication of this is that we should warn against using env vars for authentication because TF won't fork the provider process anymore, hence it cannot affect its env vars. Having it there as available will be confusing if we have the shared provider in the template as the default mode of execution. In fact, I think we can deprecate it and then remove in a future release in order to push for standardization of the execution mode to shared provider.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.