https://pulumi.com logo
#general
Title
# general
w

wet-noon-14291

10/08/2021, 8:17 AM
Second question of the day... Is there an explanation to when I need to install plugin and when I don't? I thought they were installed automatically when I installed the NPM packages, but now it seems like I miss one package in my when I run the application (it is an automation application). I know I can just install it manually, but I don't feel there is a consistent behavior around when I need to install plugins.
m

millions-furniture-75402

10/08/2021, 1:11 PM
I think this post helps clarify the difference between plugins and the SDKs for providers https://www.pulumi.com/blog/dynamic-providers/
w

wet-noon-14291

10/14/2021, 7:12 AM
That is all good, but I thought the plugins were installed together with the SDKs, or do we need to install the plugins manually? I feel like we sometimes need to install the plugin and sometimes they are just there, so I think some clarification on how it is working (or should be working) would be really nice 🙂
Trying to clarify. I can't recall having to install plugins manually when running locally on my machine, but when running the automation application on kubernetes we are asked to install the plugins.
@broad-dog-22463 is this something you can explain?
b

broad-dog-22463

10/14/2021, 11:10 AM
So there is some logic built into our packages to resolve plugins - if the plug-in is not installed then it’s a bug
w

wet-noon-14291

10/14/2021, 11:20 AM
we sort of see that all the time I would say. So I'll file a bug for it.
b

broad-dog-22463

10/14/2021, 11:24 AM
Yes please do - if there’s a consistent issue here, we should look into it
w

wet-noon-14291

10/14/2021, 11:26 AM
@broad-dog-22463 Are they resolved during
npm install
or runtime? If they are resolved during npm install I understand why we get this issue and the problem is on me (except maybe for some lacking documentation 🙂 )
b

broad-dog-22463

10/14/2021, 11:26 AM
Yes it’s during npm install :)
w

wet-noon-14291

10/14/2021, 11:31 AM
got it... We built the application and then copied the app to a container, that will of course not include the plugins since they aren't installed in the application folder.