https://pulumi.com logo
#typescript
Title
# typescript
s

sparse-student-54516

10/27/2021, 2:53 PM
Hello, I am getting below error when trying set
initialPassword
as args for below:
I would need some help with this piece. The same thing works in terraform in first attempt but I am not sure I am getting error even though the args is mentioned in the docs(
screenshot attached
)
b

billowy-army-68599

10/28/2021, 2:56 PM
@sparse-student-54516 - that argument was only added recently to the tf provider, we'll get the rancher2 provider updated for you
s

sparse-student-54516

10/28/2021, 2:56 PM
ohh……. I didn’t knew about it. @billowy-army-68599 I understand now. No worries.
Thanks
Is there a need to open a ticket/issue something on github? Can you please add me to the update github username:
prashant0085
b

billowy-army-68599

10/28/2021, 3:02 PM
@sparse-student-54516 looks like we;ve done that update. what version of the provider are you using?
s

sparse-student-54516

10/28/2021, 3:06 PM
😮
how can I check it?
b

billowy-army-68599

10/28/2021, 3:06 PM
which language sdk are you using?
s

sparse-student-54516

10/28/2021, 3:07 PM
Typescript
b

billowy-army-68599

10/28/2021, 3:07 PM
npm list
s

sparse-student-54516

10/28/2021, 3:08 PM
Copy code
devops-rancher-next@ /Users/prashanttiwari/zondax/devops-rancher-next
├── @pulumi/cloudinit@1.1.0
├── @pulumi/hcloud@1.5.0
├── @pulumi/pulumi@3.13.2
├── @pulumi/rancher2@3.3.0
├── @types/node@10.17.60
├── @typescript-eslint/eslint-plugin@4.33.0
├── @typescript-eslint/parser@4.33.0
├── eslint@7.32.0
├── fs@0.0.1-security
├── tslint@6.1.3
└── typescript@4.4.3
b

billowy-army-68599

10/28/2021, 3:09 PM
Copy code
npm update @pulumi/rancher
✔️ 1
s

sparse-student-54516

10/28/2021, 3:10 PM
ok…probably it didn’t updated due package-lock file with older npm.
updating now
b

billowy-army-68599

10/28/2021, 3:10 PM
Copy code
npm outdated
is a useful command
s

sparse-student-54516

10/28/2021, 3:11 PM
This is me using pulumi as well as typescript first time 😅
b

billowy-army-68599

10/28/2021, 3:11 PM
quite alright, good to have you here!
s

sparse-student-54516

10/28/2021, 3:24 PM
Is it recommended to keep all packages to
latest?
b

billowy-army-68599

10/28/2021, 3:25 PM
no, that could introduce changes you don't expect. if you need a feature, update it when you need
🙌 1
s

sparse-student-54516

10/29/2021, 3:39 AM
It is working now 👍