I'm trying to set up a policy on my S3 bucket, but I'm recieving an error. The error also does not tell me where to look for issues. I saw a similar post here, but since I'm not using IAM roles, I don't believe it's pertinent.
I generated my bucket's policy directly from Amazon's Policy Generator. Here is my policy:
{
"Id": "Policy1512577467217",
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1512577462905",
"Action": [
"s3:GetObject",
"s3:ListAllMyBuckets",
"s3:ListBucket",
"s3:ListObjects"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::please-work-god/*",
"Principal": "*"
}
]
}
When I try to save the policy, I see the following message:
Error: Policy has invalid action
Any help would be greatly appreciated.