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

green-morning-1318

03/19/2020, 11:08 PM
Do we have any CircleCI experts here? 🤔 I’m trying to use the Pulumi Orb to update my stack but I get an exception:
Copy code
pulumi update --stack retgits/dev --cwd ~/project/pulumi --skip-preview
Updating (dev):
@ Updating....
 
Permalink: <https://app.pulumi.com/retgits/acmeserverless-payment/dev/updates/5>
error: failed to discover plugin requirements: failed to execute program cmd: exit status 1

Exited with code exit status 255
It runs fine on my Mac, so would anyone have thoughts on how to debug this?
w

white-balloon-205

03/19/2020, 11:13 PM
This is Go?
g

green-morning-1318

03/19/2020, 11:15 PM
yup
In the previous step, which is a “run” step, I’ve added
pulumi plugin install resource aws 1.24.0
but either that’s not picked up properly or I configured it wrong
w

white-balloon-205

03/19/2020, 11:19 PM
This specific error is actually due to some code which was new in
1.13.0
. Do you know if you repro the same issue on
1.12.1
? cc @lemon-agent-27707
g

green-morning-1318

03/19/2020, 11:34 PM
Ah! That was the trick 🙂 I set the Pulumi version to 1.12.1 and it works
w

white-balloon-205

03/19/2020, 11:49 PM
I think the problem might be that using the newer CLI (1.13) doesn't work for an app built using an older Go SDK (1.12.1). Does that sound like it matches when you were and weren't seeing this?
g

green-morning-1318

03/19/2020, 11:50 PM
yes, that does seem about right… I haven’t updated my Go modules to use pulumi 1.13 yet
l

lemon-agent-27707

03/20/2020, 12:15 AM
I believe that would be the issue. The SDK code go codegen was updated in 1.13.0