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

Fork shared gRPC server with the magic cookie #179

Merged
merged 2 commits into from
Apr 21, 2022

Conversation

ulucinar
Copy link
Collaborator

Description of your changes

Consume crossplane/terrajet#275 to fork the shared gRPC server (Terraform native provider) with the magic cookie.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Tested using the corresponding Terrajet PR crossplane/terrajet#267 by importing a ResourceGroup both locally and in-cluster with a provider package.

Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
Copy link
Member

@muvaf muvaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@@ -85,17 +86,22 @@ func main() {
})
kingpin.FatalIfError(err, "Cannot create controller manager")
kingpin.FatalIfError(apis.AddToScheme(mgr.GetScheme()), "Cannot add Azure APIs to scheme")

var runner terraform.ProviderRunner = terraform.NewNoOpProviderRunner()
if len(*nativeProviderPath) != 0 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A comment explaining that this is to enhance local development experience would be helpful.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @muvaf. Added a comment explaining the motivation behind the new command-line flag --terraform-native-provider-path.

…e-provider-path`

Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants