After attempting to apply a bucket policy generated by Amazon's policy generator, I receive the error "Policy has invalid resource". Everything seems valid after using the policy documentation to check my policy's validity. Here's my simple policy that is throwing the error.
{
"Id": "Policy1542588337862",
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1542588336654",
"Action": [
"s3:GetObject"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::dylan-landry-cms-portfolio/*",
"Principal": "*"
}
]
}
Apologies for asking such a common question, but I'm stumped. I'll keep looking into it.