Skip to content

Commit

Permalink
Added specific vpc deny
Browse files Browse the repository at this point in the history
  • Loading branch information
directdevops committed Nov 21, 2020
1 parent ea3d41c commit 0c9161d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions iam/SpecificVPCAccess.json
@@ -0,0 +1,19 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Effect" : "Deny",
"Action": "ec2:*",
"Resource": "*",
"Condition": { "StringLike": {"ec2:Vpc":"*vpc-003a280bb2275192a*"}}
},
{
"Effect" : "Allow",
"Action": "ec2:*",
"Resource": "*"

}

]

}

0 comments on commit 0c9161d

Please sign in to comment.