This message was deleted.
# general
s
This message was deleted.
g
found the cause after a bit of digging. I added pulumi to the path by creating a symlink
/usr/local/bin/pulumi -> /root/.pulumi/bin/pulumi
and apparently pulumi CLI didn’t like being symlinked that way.
b
Ah, yes,
pulumi
tries to load plugins from your path. So, if you need to load the Node.js runtime, it'll look for
pulumi-language-nodejs
, and if you need to load the AWS resource provider, it'll look for
pulumi-resource-aws
. So by symlinking, I suspect it did not find the binary adjacent to itself and failed. One solution is to add
~/.pulumi/bin
to your path (defeating the purpose, I suppose of your symlink), or symlinking the plugins also.