Title
b

brash-gigabyte-81569

11/09/2022, 7:01 PM
I am struggling a little getting a provider I built locally (pulumi-eks) to run. I copied the bin folder to ~/.pulumi/plugins/resource-eks-v0.42.7 but when I go to run pulumi up I get
It looks like the Pulumi SDK has not been installed. Have you run npm install or yarn install?
If i go and run
npm install
after I get that error, it basically reverts all my changes to the released version for that plugin
Am I missing something for getting a locally built provider to be used?
b

billowy-army-68599

11/09/2022, 7:08 PM
you need to
yarn link
the sdk
b

brash-gigabyte-81569

11/09/2022, 7:08 PM
k
got it working
s

stocky-restaurant-98004

11/09/2022, 7:10 PM
@brash-gigabyte-81569 run
yarn link
first in the directory that contains your local SDK (with the
package.json
. This basically registers it with yarn. Then, in the directory of your Pulumi program, run
yarn link @pulumi/eks
or whatever the name of the library is.
To test it, you should see
node_modules/@pulumi/eks
as a symlink to your local copy.
b

brash-gigabyte-81569

11/09/2022, 7:11 PM
yep thats what I ended up seeing, the symlink in the one i put into the plugins directory was invalid, so i fixed it to my local copy and it works
thanks all
PR incoming