This message was deleted.
# golang
s
This message was deleted.
s
The resolution is to use
pulumi.DependsOn
to add an explicit dependency on the Elastic IP. I don’t know if this is an expected change from previous versions of the SDK, or if this reflects a potential error/bug in the SDK.
b
Can you share your code?
s
@billowy-army-68599 Yes, I’ll upload it shortly.
It would seem that
pulumi.DependsOn
isn’t necessarily the fix; the error just occurred again.
Here’s my code.
Updating to the latest version of the AWS provider didn’t help. Nor did updating my
go.mod
to
go 1.16
(this is on an ARM64 M1-based Mac).
The error is intermittent; sometimes it happens and sometimes it doesn’t. I haven’t yet found a way to reliably reproduce it.
It would appear this is related: https://github.com/pulumi/pulumi/issues/7275