Wednesday, February 10, 2016

AWS IAM: EC2 Full Access to Region

Example:
{
   "Version": "2012-10-17",
   "Statement": [
       {
           "Sid": "xxxxxxxxxxx",
           "Effect": "Allow",
           "Action": [
               "ec2:*"
           ],
           "Resource": "*",
           "Condition": {
           "StringEquals": {
               "ec2:Region": "us-west-2"
           }
       }
     }
   ]
}

Reference: http://stackoverflow.com/questions/18112784/iam-allowing-a-user-to-access-everything-for-ec2-on-a-region

No comments:

Post a Comment