https://pulumi.com logo
Title
w

wet-noon-14291

03/18/2021, 12:30 PM
Any know network issues or anything. I can't download the random plugin: https://get.pulumi.com/releases/plugins/pulumi-resource-random-v0.6.1-linux-amd64.tar.gz.
I get access denied when I try to download it.
b

brave-planet-10645

03/18/2021, 12:35 PM
We've just updated pretty much all the providers because of arm64 - (also that's quite an old version)
Try changing the version to v3.1.0
w

wet-noon-14291

03/18/2021, 12:38 PM
This is weird, I have 3.1.0 in my package.json file
Everything worked about 30 minutes ago, haven't installed any new packages and all of a sudden pulumi complained about missing plugin and pointed to this old version of random.
I also have 3.1.0 installed. This is an automation app where I use random.
b

broad-dog-22463

03/18/2021, 1:00 PM
I have a feeling this is in azure devops?
w

wet-noon-14291

03/18/2021, 1:44 PM
nope, running from my machine @broad-dog-22463 I sort of narrowed it down:
new random.RandomUuid(someName, undefined, options);
Where
options
has a parent set fails.
new random.RandomUuid(someName);
b

broad-dog-22463

03/18/2021, 1:44 PM
So it’s definitely a bug in our plug-in acquisition :/
w

wet-noon-14291

03/18/2021, 1:46 PM
and the second one works.
let me know if you want any more info
b

broad-dog-22463

03/18/2021, 1:53 PM
Interesting - what options are you passing?
w

wet-noon-14291

03/18/2021, 1:54 PM
{ parent }
is the only option.
b

broad-dog-22463

03/18/2021, 1:55 PM
what other providers are in your application
So the issue is because of this bug
So you are still using a provider that is an older version that still uses the old code and is mutating the options
w

wet-noon-14291

03/18/2021, 2:29 PM
for the one that is complaining, random, I'm using the 3.1.0 version
The rest of the deps in package.json:
"@pulumi/azure-nextgen": "^0.6.1",
    "@pulumi/azuread": "^3.4.0",
    "@pulumi/github": "^3.1.0",
    "@pulumi/kubernetes": "^2.8.1",
    "@pulumi/pulumi": "^2.20.0",
    "@pulumi/random": "^3.1.0",
    "@pulumi/tls": "^3.1.1",
I should definitely upgrade azure, but picked nextgen based on old habits :)
b

broad-dog-22463

03/18/2021, 2:41 PM
Fwiw that 0.6.1 provider is what’s causing you the issue
That is pre that code fix
w

wet-noon-14291

03/18/2021, 2:50 PM
got it... so I guess that one has a dependency to an older version of random. Will move to native, since that is the right thing to do 🙂
b

broad-dog-22463

03/18/2021, 3:01 PM
Yeah I’m sorry this bug has bitten you :/
w

wet-noon-14291

03/18/2021, 3:04 PM
no problem
b

broad-dog-22463

03/18/2021, 3:05 PM
Btw as soon as you showed me that it worked without ops and was broken with helped me find that
So thank you for that help in diagnosing