steep-action-99294
05/28/2024, 9:18 PM_, err = s3.NewBucketObject(ctx, "website", &s3.BucketObjectArgs{
Bucket: bucket.ID(),
Source: pulumi.NewFileArchive("./website"),
ContentType: pulumi.String("text/html"),
Acl: pulumi.String("public-read"),
}, pulumi.DependsOn([]pulumi.Resource{
publicAccessBlock,
ownershipControls,
}))
if err != nil {
return err
}
hey guys! i've been trying to deploy a static website in an s3 bucket wth golang. when i run pulumi up, and click on my bucket i see a single file "website". what is the right way to do this with pulumi? since the static webpage has other filesadorable-activity-71456
05/28/2024, 9:48 PMadorable-activity-71456
05/28/2024, 9:50 PMadorable-activity-71456
05/28/2024, 9:51 PMsteep-action-99294
05/28/2024, 10:38 PM