magnificent-lifeguard-15082
01/06/2022, 11:53 AMnixpkgs.pulumi-bin
) and versions of plugins? In CI (Github actions where admittedly nix is not fully configured yet) it complains the aws plugin isn't available - though it is in my package-lock.json
pulumi:providers:aws (default_4_33_0):
error: no resource plugin 'aws-v4.33.0' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource aws v4.33.0`
Weirder, when I run locally it warns of a mismatch:
resource plugin aws is expected to have version >=4.33.0, but has 4.27.2
But when checking versions locally it seems ok..
% pulumi plugin ls
NAME KIND VERSION SIZE INSTALLED LAST USED
aws resource 4.33.0 360 MB 1 day ago 38 minutes ago
docker resource 3.1.0 39 MB 1 day ago 38 minutes ago
terraform resource 5.5.1 85 MB 1 day ago 19 hours ago
plugin ls
showing the expected version?
resource plugin aws is expected to have version >=4.33.0, but has 4.27.2
A side effect seems to be provider resources are getting invalidated every runbillowy-army-68599
magnificent-lifeguard-15082
01/11/2022, 6:28 PMname: platform
runtime:
name: nodejs
options:
typescript: false
description: Core platform
# using esbuild bundle until pulumi sort out ts-node/typescript as a peer dep
# <https://github.com/pulumi/pulumi/pull/8199>
main: ./dist/pulumi/pulumi.js
billowy-army-68599
package.json
magnificent-lifeguard-15082
01/11/2022, 6:31 PM"@pulumi/aws": "^4.33.0",
"@pulumi/awsx": "^0.32.0",
"@pulumi/pulumi": "^3.21.0",
billowy-army-68599
package-lock.json
your state. each provider has a version associated with it, so if you do pulumi stack export
you should be able to examine the versions in theremagnificent-lifeguard-15082
01/11/2022, 6:37 PMbillowy-army-68599
magnificent-lifeguard-15082
01/11/2022, 6:40 PM"node_modules/@pulumi/aws": {
"version": "4.33.0",
"resolved": "<https://registry.npmjs.org/@pulumi/aws/-/aws-4.33.0.tgz>",
"integrity": "sha512-MPXpx3vDgKCD/hvaQ3TiO0BRLWiLJwX4QBvWBD9JoC4VWagRe+7YXd4eQnZ7/TUssrPKL4y5DSeLa/lgdJr8iw==",
"hasInstallScript": true,
"dependencies": {
"@pulumi/pulumi": "^3.0.0",
"aws-sdk": "^2.0.0",
"builtin-modules": "3.0.0",
"mime": "^2.0.0",
"read-package-tree": "^5.2.1",
"resolve": "^1.7.1"
}
},
billowy-army-68599
magnificent-lifeguard-15082
01/11/2022, 6:45 PMnixpkgs.pulumi-bin
$ which pulumi
/nix/store/0k0qph0v3lrlpxips1m59dgarsmvaxsf-pulumi-3.17.1/bin/pulumi
$ which pulumi-resource-aws
/nix/store/0k0qph0v3lrlpxips1m59dgarsmvaxsf-pulumi-3.17.1/bin/pulumi-resource-aws
$ pulumi plugin ls
NAME KIND VERSION SIZE INSTALLED LAST USED
aws resource 4.33.0 356 MB n/a 55 minutes ago
$ pulumi-resource-aws --version
v4.27.2