https://pulumi.com logo
#general
Title
# general
l

lemon-machine-35564

04/07/2021, 6:09 PM
Question about plugins. We are seeing this error, but only in CI. We aren’t using this alpha package anymore and it doesn’t exist in our code anywhere.
stderr: error: could not load plugin for aws provider 'urn:pulumi:development-johnstonbl01::nacelle-services-dilithium::pulumi:providers:aws::default_3_35_0_alpha_1617104857': no resource plugin 'aws-v3.35.0-alpha.1617104857' found in the workspace or on your $PATH, install the plugin using pulumi plugin install resource aws v3.35.0-alpha.1617104857
b

billowy-army-68599

04/07/2021, 6:09 PM
is it in your state? you can check by exporting it
l

lemon-machine-35564

04/07/2021, 6:10 PM
One sec
pulumi stack export | grep alpha
did not return any results
b

billowy-army-68599

04/07/2021, 6:11 PM
on your local machine, do you have that plugin installed? i can't think of anywhere else it would be coming from
l

lemon-machine-35564

04/07/2021, 6:12 PM
I didn’t install it. We had that version in our
package.json
for a week or so, but not anymore
I do see it in
/Users/jeffrichie/.pulumi/plugins
but I’m actually only getting this error in CI
The GitHub Pulumi Action uses the Automation API vs the cli. Would that make things any different?
b

billowy-army-68599

04/07/2021, 6:16 PM
nope, the automation api uses the cli under the hood too
👍 1
l

lemon-machine-35564

04/07/2021, 6:17 PM
It’s odd, we only see this once in awhile and only in CI, and re-running CI a few time clears it up temporarily
b

billowy-army-68599

04/07/2021, 6:19 PM
that is strange, is it in a specific stack maybe?
l

lemon-machine-35564

04/07/2021, 6:20 PM
We’ve seen it on multiple dev stacks
b

billowy-army-68599

04/07/2021, 6:21 PM
can you run
Copy code
pulumi stack export | jq '.deployment.resources[].urn'
on one of the stacks that failed?
l

lemon-machine-35564

04/07/2021, 6:22 PM
Looking for this?
"urn:pulumi:development-jeffrichie::nacelle-services-dilithium::pulumi:providers:aws::default_3_35_0"
b

billowy-army-68599

04/07/2021, 6:24 PM
amongst other things 😄
l

lemon-machine-35564

04/07/2021, 6:27 PM
DM’d 😄