Skip to content

Instantly share code, notes, and snippets.

@stack72

stack72/after.go

Created Jan 29, 2020
Embed
What would you like to do?
siteBucket, err := s3.NewBucket(ctx, "s3-website-bucket", &s3.BucketArgs{
Website: s3.BucketWebsiteArgs{
IndexDocument: pulumi.String("index.html"),
},
})
if err != nil {
return err
}
siteBucket, err := s3.NewBucket(ctx, "s3-website-bucket", &s3.BucketArgs{
Website: map[string]interface{}{
"indexDocument": "index.html",
},
})
if err != nil {
return err
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.