brash-airline-3741311/03/2021, 3:51 AM
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 $name $version -f mydist.tar.gz
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?
pulumi plugin install resource …
• a language SDK
You need both for things to work. The
command installs the binary. We have something claled "plugin discovery" which means when you do
pulumi plugin install
it will automatically acquire the plugin binary for you. You need to set the following property in the schema:
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-3741311/03/2021, 3:56 AM
brash-airline-3741311/03/2021, 4:01 AM
brash-airline-3741311/03/2021, 4:03 AM