Failed to upload the objects from the react build folder to S3 when run pulumi up
Example
Code is
import * as pulumi from "@pulumi/pulumi";
import * as staticwebsite from "@pulumi/aws-static-website";
const site = new staticwebsite.Website("company-pacific", {
sitePath: "build",
indexDoc: "index.html",
error404: "index.html"
});
export const url = site.websiteURL;
File structure:
Output of pulumi about
Error uploading object to S3 bucket (website-content-01c3c52): AccessDenied: Access Denied
status code: 403, request id: GGSTGNSWVKV6BTJ5, host id: JnepKZy3ZIKN6Qtzbeatrlx3z+kOPEsOLhwTaLv213lUED8hQMM6+ND+RkYf8rl2vYd95+M7kxUW5qUXUJ/8sQ==
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
What happened?
Failed to upload the objects from the react build folder to S3 when run
pulumi up
Example
Code is
File structure:
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).