Do we have any CircleCI experts here? :thinking_fa...
# general
g
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
This is Go?
g
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
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
Ah! That was the trick 🙂 I set the Pulumi version to 1.12.1 and it works
w
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
yes, that does seem about right… I haven’t updated my Go modules to use pulumi 1.13 yet
l
I believe that would be the issue. The SDK code go codegen was updated in 1.13.0