I use <terraform-provider-dexidp> in one of my pro...
# package-authoring
l
I use terraform-provider-dexidp in one of my projects to interact with Dex. I've forked the project to fix a bug that's specific to my company so it wouldn't be very useful upstream, and my fix won't make it to any registry e.g. opentofu's. I've built and released the patched provider in a private GitHub repo. How can I use
pulumi package add terraform-provider
to generate an SDK that points to my patched provider? Per the terraform-provider docs I can see that it optionally supports specifying a registry, but I don't really want to host a registry for this single package. Is there a way to tell the
terraform-provider
generator to grab the executable from git releases or from a bare URL rather than from a terraform registry?
m
you can also use a local path, I don't think we have support for arbitrary urls or github repos though..
l
I did see you could use local paths, but I assume it doesn't bundle the executable into the generated provider, so I'd have to ship it with the package? Not necessarily a deal-breaker, just a bit of a faff
m
That's correct. Feel free to file an issue requesting support for pointing to arbitrary urls for the tf provider
👍 1