Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add shared gRPC mode to run the native provider #267

Merged
merged 6 commits into from
Apr 2, 2022

Commits on Mar 31, 2022

  1. Add config.Provider.SharedGRPC config option to control shared gRPC m…

    …ode for a provider
    
    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    268f04a View commit details
    Browse the repository at this point in the history
  2. Implement shared gRPC server in terraform.WorkspaceStore

    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    172f610 View commit details
    Browse the repository at this point in the history
  3. Add NativeProviderRunner interface

    - Add tests
    
    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    5b31f82 View commit details
    Browse the repository at this point in the history
  4. Use terraform.NoOpProviderRunner as the default WorkspaceStore.provid…

    …erRunner
    
    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    a9d407d View commit details
    Browse the repository at this point in the history
  5. Rename terraform.NativeProviderRunner as terraform.ProviderRunner

    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    0da01cc View commit details
    Browse the repository at this point in the history
  6. Set TF_REATTACH_PROVIDERS env. variable per Workspace

    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    4354101 View commit details
    Browse the repository at this point in the history