crossplane / terrajet

Generate Crossplane Providers from any Terraform Provider
https://crossplane.io
Apache License 2.0
290 stars 38 forks source link

Start shared native provider using a magic cookie #275

Closed ulucinar closed 2 years ago

ulucinar commented 2 years ago

Description of your changes

It turns out that we cannot run the Terraform GCP provider as a shared server like we do for the AWS and Azure providers (by invoking the plugin binary with certain command-line options). We have identified another way in which we set a cookie in the native provider's environment to keep it running as a shared server. This PR switches to this method in the SharedProvider implementation.

I have:

How has this code been tested