sparse-intern-71089
12/13/2020, 10:35 PMworried-queen-62794
12/13/2020, 10:39 PM❯ pulumi plugin ls
NAME KIND VERSION SIZE INSTALLED LAST USED
aws resource 3.19.3 253 MB 5 minutes ago 4 minutes ago
aws resource 3.5.0 242 MB 2 months ago 2 months ago
datadog resource 2.13.0 55 MB 4 minutes ago 3 minutes ago
datadog resource 2.10.0 58 MB 1 month ago 1 month ago
random resource 2.4.0 43 MB 1 month ago 1 month ago
worried-queen-62794
12/13/2020, 10:43 PMpulumi plugin install
then it does:
[resource plugin aws-3.19.3] installing
Downloading plugin: 72.65 MiB / 72.65 MiB [=========================] 100.00% 7s
[resource plugin datadog-2.13.0] installing
Downloading plugin: 20.92 MiB / 20.92 MiB [=========================] 100.00% 1s
[resource plugin random-2.4.0] installing
Downloading plugin: 17.63 MiB / 17.63 MiB [=========================] 100.00% 2s
If I then run pulumi preview
it wants a different aws version:
[resource plugin aws-3.5.0] installing
Downloading plugin: 0 B / 70.70 MiB [----------------------------------] 0.00%[resource plugin datadog-2.10.0] installing
Downloading plugin: 21.90 MiB / 21.90 MiB [=========================] 100.00% 3s
Downloading plugin: 70.70 MiB / 70.70 MiB [=========================] 100.00% 9s
little-cartoon-10569
12/13/2020, 10:47 PMnew aws.Provider(...)
) as well as used the default provider, then you can end up with two versions, at least for a while.little-cartoon-10569
12/13/2020, 10:47 PMworried-queen-62794
12/13/2020, 10:49 PMworried-queen-62794
12/13/2020, 10:50 PMlittle-cartoon-10569
12/13/2020, 10:51 PMworried-queen-62794
12/13/2020, 10:54 PMComponentResource
which combines resources from different providers?little-cartoon-10569
12/13/2020, 10:55 PMlittle-cartoon-10569
12/13/2020, 10:56 PMlittle-cartoon-10569
12/13/2020, 10:57 PMlittle-cartoon-10569
12/13/2020, 10:57 PMworried-queen-62794
12/13/2020, 11:01 PMlittle-cartoon-10569
12/13/2020, 11:01 PMopts
are set up thus: new ChildResource(name, args, { ...parentOpts, provider: childProvider });
, because that's how I do it. Of course, if you're just doing new ChildResource(name, args, { provider: childProvider});
then you may happily ignore my warning 🙂worried-queen-62794
12/13/2020, 11:02 PMproviders
rather than provider
stocky-spoon-28903
12/14/2020, 12:45 AMworried-queen-62794
12/14/2020, 1:09 AM