Skip to content

'Get started with Pulumi and AWS' example in Go fails to compile due to v6 SDK import instead of v7 #16685

@MFarabi619

Description

@MFarabi619

Problem description

This particular snippet of code fails to compile:

Image

This is due to the import of the Pulumi AWS Go SDK two pages earlier being in v6...

https://www.pulumi.com/docs/iac/get-started/aws/create-project/

Image

Whereas the latest version of the SDK is v7.

https://github.com/pulumi/pulumi-aws

Image

Affected product version(s)

3.209

Suggestions for a fix

I was able to fix this for myself locally after simply changing the import from v6...

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"

to v7

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3"

I would be interested in contributing a PR to address this :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageNeeds attention from the triage team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions