Created
January 29, 2020 09:52
-
-
Save stack72/4827178605d75d99f5e72897d543c609 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
siteBucket, err := s3.NewBucket(ctx, "s3-website-bucket", &s3.BucketArgs{ | |
Website: s3.BucketWebsiteArgs{ | |
IndexDocument: pulumi.String("index.html"), | |
}, | |
}) | |
if err != nil { | |
return err | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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