https://pulumi.com logo
#golang
Title
# golang
s

salmon-account-74572

09/07/2022, 5:35 PM
It looks like you’re using a much older version of the AWS SDK. In your
import
, you’re referencing
<http://github.com/pulumi/pulumi-aws/sdk/go/aws/ec2|github.com/pulumi/pulumi-aws/sdk/go/aws/ec2>
, but the example references v5 (
<http://github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2|github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2>
). You may want to update your imports and
go.mod
and see if that helps.
3 Views