Closed janejanejane closed 2 years ago
I encountered this problem as well, but I've found through trial and error that for a minimally-granted IAM policy, in order to successfully upload a file you need at least:
{
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:PutObjectAcl"
]
...
}
Hope that helps
Thanks @kentaro00 . It worked. 👍
Describe the bug Assets not uploading to s3 or anywhere in local. The network tab indicates a success in upload.
To Reproduce
Screenshots When creating inside the assets folder, no error is logged and no file uploaded.
When creating in s3 manually, files are shown in assets folder.
Expected behavior Files should have been uploaded to s3.
Environment details (please complete the following information):
Additional context Error logged when creating New Folder using Statamic assets interface (removed company details):
Setting the action to *"s3:"** uploads the file. But this is too relaxed. What is the recommended actions for the bucket?