brash-airline-37413
11/03/2021, 3:51 AMpulumi plugin install resource $name $version -f mydist.tar.gz
However once installed I don’t understand what the point of installing it as a package is since doing that alone doesn’t let me import the component resources that are declared in that package.
Is the point of pulumi plugin install resource …
to allow the component resources to be imported in my language of choice or am I still expected to import via nuget/npm/pip etc as well?billowy-army-68599
11/03/2021, 3:54 AM~/.pulumi/plugins
• a language SDK
You need both for things to work. The pulumi plugin install
command installs the binary. We have something claled "plugin discovery" which means when you do npm install
or pip3 install
it will automatically acquire the plugin binary for you. You need to set the following property in the schema:
https://github.com/jaxxstorm/pulumi-rke/blob/master/provider/resources.go#L91
however
due to limitations with language metadata in packages, plugin acquisition from distinct URLs only works in Node and Python right now. We're working on making it better.brash-airline-37413
11/03/2021, 3:56 AMbillowy-army-68599
11/03/2021, 3:59 AMbrash-airline-37413
11/03/2021, 4:01 AMbillowy-army-68599
11/03/2021, 4:01 AMbrash-airline-37413
11/03/2021, 4:03 AM