Reputation: 1367
I'm trying to access AWS resources from the aws cli after configuring a new IAM user with admin rights and it acts as if no resource is available.
What I did:
Ran the command aws rds describe-db-instances
. The result is:
$ aws rds describe-db-instances
{
"DBInstances": []
}
I would have expected to see my RDS instance listed. Am I missing something?
[*] The policy json contains this:
"Effect": "Allow",
"Action": "*",
"Resource": "*"
Upvotes: 0
Views: 102
Reputation: 52375
I do not think IAM privileges is an issue here since there is no error. Is the region in the default profile for AWS credentials configured correctly?
Or try specifying the region explicitly?
aws rds describe-db-instances --region eu-west-2
If it doesn't work, then the CLI is getting the credentials from somewhere else.
Upvotes: 2