Problem description
This particular snippet of code fails to compile:
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/
Whereas the latest version of the SDK is v7.
https://github.com/pulumi/pulumi-aws
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 :)