It looks like you’re using a much older version of...
# golang
s
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.