Having trouble getting an IAM policy to work for my SQS queue, I tried the IAM Policy Simulator. No matter how simple I make my policy, it always says it is denied.
The policy below is intended to allow any action on any SQS resource. It is a policy that I am attaching to a specific user, which is why the Principal is not specified.
{
"Version": "2012-10-17",
"Statement": [
{
"Action": "sqs:*",
"Effect": "Allow",
"Resource": "arn:aws:sqs:::*"
}
]
}
When I try and run this in the policy simulator for a listQueues action, I get denied: Implicitly denied (no matching statments). How could this statement possibly not match?
Here'a a screenshot of that being denied on the policy editor: