https://pulumi.com logo
Title
a

agreeable-ram-97887

04/01/2021, 2:51 PM
When trying to run
pulumi up
I am receiving the error :
error: could not load plugin for aws provider 'urn:pulumi:dev::permissions::pulumi:providers:aws::default': no resource plugin 'aws-v3.31.0' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource aws v3.31.0`
But when trying to install the plugin I receive another error:
error: [resource plugin aws-3.31.0] downloading from : 403 HTTP error fetching plugin from <https://get.pulumi.com/releases/plugins/pulumi-resource-aws-v3.31.0-darwin-arm64.tar.gz>
As you might notice, I am on a MacBook Pro with the new M1 chip (hence, arm). I guess specifically this version of the plugin has not been compiled for this architecture, since I am able to install other versions of the plugin without any issue (e.g.
3.35.0
,
3.34.2
, and
3.34.0
) Any suggestions of how to handle this?
d

damp-school-17708

04/01/2021, 3:17 PM
I had this problem twice, in one case I managed to fix by downloading the state and making sure no 3.31 anywhere in the state files. Another engineer couldn't fix that way and she ended up deleting the .pulumi folder (I don't recommend that) but perhaps do a grep there and replace 3.31 (or 3_31) with the latest version
good luck
(sounds like something that should go in some official FAQ/resolution centre)
a

agreeable-ram-97887

04/01/2021, 3:19 PM
thanks for the forward @damp-school-17708 👍 . I am using python, so I guess my situation is a bit different then the one you describe. But nevertheless I’ll follow-up with these tips 🙂
d

damp-school-17708

04/01/2021, 3:20 PM
kind of the same I believe, the deps might not be un yarn but in pip .. + in the json in the state
good luck
b

brave-planet-10645

04/01/2021, 3:21 PM
I'm literally updating out troubleshooting docs right now
a

agreeable-ram-97887

04/01/2021, 3:23 PM
In case it’s interesting to you, I also poked at it a bit more and was able to install the amd64 version from github (requires rossetta to be installed, ofc). In short I: 1. downloaded the amd64 version 2. installed the plugin by using the specified file:
pulumi plugin install --file ~/Downloads/pulumi-resource-aws-v3.31.0-darwin-amd64.tar.gz resource aws v3.31.0
Then pulumi works again, but it seems noticeably slower than before 🤔 . I guess due to rosetta 🤷
I’m literally updating out troubleshooting docs right now
thanks @brave-planet-10645!