AWS deny access to VPC
问题 We have a few users which basically have access to everything using the following policy: { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "*", "Resource": "*" } ] } Is there a way to restrict access to selected VPCs? I have tried creating the following policy and attach it to the user (via a group): { "Version": "2012-10-17", "Statement": [ { "Sid": "Stmt1504660000000", "Effect": "Deny", "Action": [ "ec2:*" ], "Resource": [ "arn:aws:ec2:<REGION>:<ACCOUNT-ID>:vpc/<VPC