https://pulumi.com logo
p

prehistoric-kite-30979

08/31/2021, 3:10 PM
Hi all, We’re using custom providers for a couple of things and for some reason on developer machines pulumi finds the plugin when we build and preview on dev machines but doesn’t on our CD machines. I know the plugin binary is there on the CD machine, named the same and is executable in the path because I can run it on the CD machine:
Copy code
Executing command: pulumi-resource-elasticcloud                                                                                          
error: fatal: could not connect to host RPC; missing argument
However, when pulumi preview is ran on the CD machine it throws the following error, which appears to be looking for the plugin using a binary name that includes the version:
Copy code
error: could not load plugin for elasticcloud provider 'urn:pulumi:xxx::xxx::pulumi:providers:elasticcloud::elastic': no re
source plugin 'elasticcloud-v0.0.3' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource ela
sticcloud v0.0.3`
Does anyone have any idea about what might be going on here?
One thing to note as well is that the version is actually 0.0.5 not 0,0.3 but 0.0.3 is the one in the state
l

limited-rainbow-51650

08/31/2021, 3:18 PM
Talking from my own experience, did you make the plug-in binary executable after transferring it to the CD machines?
p

prehistoric-kite-30979

08/31/2021, 3:20 PM
Its being built on the CD machine using go install. The first shell output above is me executing it on the CD machine though
Although in the same step in which I built it so maybe I dont understand how things are persisted between steps
let me verify
b

billowy-army-68599

08/31/2021, 5:09 PM
@prehistoric-kite-30979 if the plugin version v0.0.3 is in the state, you'll need both binaries
p

prehistoric-kite-30979

09/01/2021, 3:24 AM
so it turned out I misunderstood how stuff is persisted between steps, false alarm!
m

melodic-car-16900

10/01/2021, 7:43 PM
@prehistoric-kite-30979 do you have any plans to publish this? I was looking at how to get my elastic cloud indexes up and running and was disappointed not to see a published @pulumi/elastic-cloud
p

prehistoric-kite-30979

10/01/2021, 7:51 PM
Im reticent to sign up for perpetual maintenance, I’m happy to give the code to the pulumi team if they want to do that
its basically just using the pulumi tf boilerplate stuff
m

melodic-car-16900

10/01/2021, 7:51 PM
Yeah that's fair.
With no expectation of you providing ongoing maintenance, would you consider throwing it up on github?
p

prehistoric-kite-30979

10/01/2021, 7:54 PM
I’ll zip up the code and send it to you when Im back at my keyboard
m

melodic-car-16900

10/01/2021, 7:54 PM
Hero
🙏
@echoing-match-29901 what does it take to persuade you guys to pick up and maintain this...?
b

billowy-army-68599

10/01/2021, 7:56 PM
please file a support ticket for it support@pulumi.com and we'll consider it
m

melodic-car-16900

10/01/2021, 7:57 PM
As in, I just send an email there with a bit of rationale? Sure
b

billowy-army-68599

10/01/2021, 7:59 PM
yep, if you're a customer with us, I'd encourage talking to your account exec too
2 Views