In chrome browser, logged into AWS account with user name(Administrator
) part of Administrators
group.
Created an IAM user (Bob
) with Custom managed policy(Demo1
) as shown below:
In firefox, tried to login with user Bob
, below is the error:
Bob
is part of no group.
With or without policy(Demo1
) attachment to user Bob
, user Bob
could not login...
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "ec2:*",
"Resource": "*"
},
{
"Sid": "VisualEditor1",
"Effect": "Deny",
"Action": "ec2:RunInstances",
"Resource": "*",
"Condition": {
"ForAllValues:StringNotEquals": {
"ec2:InstanceType": "t1.*,t2.*,m3.*"
}
}
}
]
}
Why user Bob
cannot login?