I've been trying to access a project in AWS devicefarm using AWS CLI. Steps taken:
aws configure
commandaws devicefarm list-uploads --arn myProjectArn
and what i get is this error:
An error occurred (AccessDeniedException) when calling the ListUploads operation: User: arn:aws:iam::replacingANumber:user/myUserName is not authorized to perform: devicefarm:ListUploads on resource: arn:aws:devicefarm:us-west-2:replacingANumber:project:replacingALongString with an explicit deny
The docs:https://docs.aws.amazon.com/eks/latest/userguide/troubleshooting_iam.html say i'm missing permissions, but devOps team in my company says i have all the permissions.
What am I missing?
Either misconfigured AWS CLI or insufficient permissions.
This can be 2 things:
aws sts get-caller-identity
, you get the same role as the one that the devops team claims to have the correct permission. Also, make sure that your default region is us-west-2
.