Hello Guys, do I have to run `pulumi plugin insta...
# install
c
Hello Guys, do I have to run
pulumi plugin install resource gcp v2.12.0
for each resource we are using?
g
For each provider, yes so like
gcp
or
aws
đź‘Ť 1
not for resources you create like a K8s cluster on GCP or an S3 bucket on AWS
c
Ok Thanks, any idea how to sync versioning with package,json in case of Node?
g
The
pulumi plugin install
is only needed when you want to manually install resource provider plugins. For most languages, including TypeScript/Node.js, Pulumi will take care of installing the resource provider
For example, in my case my package.json has
Copy code
"dependencies": {
        "@pulumi/pulumi": "^1.0.0",
        "@pulumi/kubernetes": "^1.0.0",
        "@pulumi/kubernetesx": "^0.1.1"
    }
And I let the Pulumi command figure out which resource provider and which version I need
g
Yea, manually running
pulumi plugin install ...
is generally not needed.
npm install
or
pip install ...
should handle this for you in most cases.
c
hmm but I do yarn install (using yarn workspace) which takes care for npms but when I run
pulumi stack select ...
i am getting info about missing plugin…