Permission denied on AWS Device Farm

0

Hi, I tried to run ./gradlew deviceFarmUpload but it failed because I am not authorized to perform: devicefarm:ListProjects with an explicit deny in an identity-based policy. I checked with my admin and he stated that I am in a user group which has the AWSDeviceFarmFullAccess policy attached to the group.

arn:aws:iam::aws:policy/AWSDeviceFarmFullAccess { "Version": "2012-10-17", "Statement": [ { "Action": [ "devicefarm:" ], "Effect": "Allow", "Resource": "" } ] }

Can I get help with this issue? Thank you so much.

2 回答
0

The issue is that an explicit deny in any relevant policy will override any allow that you have (like the policy you included).

You will likely need to ask your admin about what other policies are applied to your user/group/role, as it looks like some other policy is denying the action(s) you want.

profile picture
rowanu
已回答 2 年前
0

Hi,

Thanks for reaching out. I just want to echo rowanu's answer here, as mentioned, it's most likely due to another policy attached which has an explicit deny. Please see here for the policy evaluation logic -> https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-denyallow

Please feel free to raise a support case with us if you are unable to find the root cause of this issue. We will be happy to help you.

AWS
支持工程师
Ryan_A
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则