To support Pulumi plugins to be downloaded from mo...
# contribute
l
To support Pulumi plugins to be downloaded from more various sources, the
pulumi plugin install
command needs a thorough revision. I made a proposal for this, hoping to get this in the v4.0 release on time, in the corresponding ticket: https://github.com/pulumi/pulumi/issues/9007#issuecomment-1101347426 I hope we can get the discussion started!
b
@limited-rainbow-51650 love the suggestions! Just wanna make sure you're aware that installing from GitHub releases is already supported 😃
l
Yes, but not from 3rd party public repos AFAICS
b
They sure are!
l
Hmmm. Then I don't know how to configure this for the Pulumiverse ones.
@billowy-army-68599 any idea where I can configure that with the TF bridge so it ends up in the schema?
so it'd be:
Copy code
PluginDownloadURL: "<https://github.com/pulumiverse/pulumi-reponame/releases/download/${VERSION}>",
e
afaik that won't work for private repos. I did start experimenting with ideas to support this (see https://github.com/pulumi/pulumi/commit/2396d56c6d1b0637b238611b08f948afb4c796c5 for one example). I'm sure we can come up with something workable before 4.0.
Also replied on the issue thread 🙂
a
excuse me for butting in, but pulumiverse repos aren’t private, are they?
or do you mean the proposal wouldn’t work for private repos?
(i’m just trying to follow and understand and keep up with this thread of smart people)
e
I don't know about pulumiverse repos, was just a comment that the plain download URL we currently support won't work for private repos and so if the pulumiverse repors are private that will be an issue. I think Ringos proposal is fine, it will let us use the github api which clearly does work for private repos.
a
okay I’m all caught up 🙂
this thread needs threads within threads 😄
🎉 1
e
But then where would that end 🤯
a
(also, this just tells me that we need to socialize what the Pulumiverse is more inside Pulumi! it’s very cool and a growing and key component of our community…and we are all part of the community!)
partypus 1