Created
September 14, 2022 09:34
-
-
Save niraj-shah/11afc67f830945bae099c4d88a65d356 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:RevokeSecurityGroupIngress", | |
"ec2:AuthorizeSecurityGroupEgress", | |
"ec2:AuthorizeSecurityGroupIngress", | |
"ec2:UpdateSecurityGroupRuleDescriptionsEgress", | |
"ec2:DeleteTags", | |
"ec2:CreateTags", | |
"ec2:RevokeSecurityGroupEgress", | |
"ec2:ModifySecurityGroupRules", | |
"ec2:UpdateSecurityGroupRuleDescriptionsIngress" | |
], | |
"Resource": "arn:aws:ec2:eu-west-2:{account_id}:*/*" | |
}, | |
{ | |
"Sid": "VisualEditor1", | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:DescribeSecurityGroupRules", | |
"ec2:DescribeSecurityGroupReferences", | |
"ec2:DescribeSecurityGroups" | |
], | |
"Resource": "*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment