cool-egg-852
10/03/2019, 12:27 PMPreviewing update (LinioIT/support):
[resource plugin aws-1.2.1] installing
Downloading plugin: 60.87 MiB / 60.87 MiB 100.00% 4sm1s
Moving plugin... done.
pulumi:pulumi:Stack rsin-provider-support running
pulumi:providers:aws default_1_4_0 error: no resource plugin 'aws-v1.4.0' found in the workspace or on your $PATH, install th
e plugin using `pulumi plugin install resource aws v1.4.0`
pulumi:pulumi:Stack rsin-provider-support
pulumi:providers:aws default_1_4_0 1 error
Diagnostics:
pulumi:providers:aws (default_1_4_0):
error: no resource plugin 'aws-v1.4.0' found in the workspace or on your $PATH, install the plugin using `pulumi plugin instal
l resource aws v1.4.0`
Any idea? It seems like pulumi is installing the wrong version, but it is detecting it needs to install the plugin at minimum.gentle-diamond-70147
10/03/2019, 3:43 PMcool-egg-852
10/03/2019, 3:44 PMwhite-balloon-205
1.2.1
referenced? If so where?cool-egg-852
10/03/2019, 3:50 PM{
"urn": "urn:pulumi:development::rsin-provider::pulumi:providers:aws::default_1_2_1",
"custom": true,
"id": "869d7928-4dc2-486e-a517-6641d3dcfece",
"type": "pulumi:providers:aws",
"inputs": {
"region": "us-east-1",
"version": "1.2.1"
},
"outputs": {
"region": "us-east-1",
"version": "1.2.1"
}
},
node_modules
. Pulumi does not try to reinstall the plugin for this version.white-balloon-205
npm install
in your CI?
The plugins needed by your NPM modules are installed at npm install
time. You need to do at least one of:
1. Run npm install
2. Run pulumi plugin install
for the same version manually
3. Copy the plugins in question manually to the path (possibly from a previous run of one of the above)
Plugins needed by your state file will be downloaded on demand during up
if needed.cool-egg-852
10/03/2019, 4:36 PMwhite-balloon-205
~/.pulumi
is maintained - or else re-do the plugin installations.cool-egg-852
10/03/2019, 4:36 PMwhite-balloon-205
.pulumi
is stored.
But until then - you do need to make sure plugins are installed across npm install
and pulumi up
steps.but this is an issue for anyone who uses a CI system like CodeFresh where the entire filesystem is not kept the same between steps.Yep - definitely understood.
cool-egg-852
10/03/2019, 4:40 PMwhite-balloon-205
cool-egg-852
10/03/2019, 4:47 PMwhite-balloon-205
.pulumi
is stored. Feedback on the PR welcome to ensure it would work for your environment.
https://github.com/pulumi/pulumi/pull/3300