-
-
Save uurtech/5a6de0f3767a4e36591677e4f9f4df62 to your computer and use it in GitHub Desktop.
This file contains 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": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:DescribeRouteTables", | |
"ec2:DescribeSecurityGroups", | |
"ec2:DescribeVpcPeeringConnections", | |
"ec2:DescribeVpcs", | |
"ec2:DescribePrefixLists", | |
"logs:DescribeLogGroups" | |
], | |
"Resource": "*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"servicequotas:GetServiceQuota" | |
], | |
"Resource": "arn:aws:servicequotas:*:*:vpc/L-0EA8095F" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"logs:CreateLogGroup", | |
"logs:DescribeLogStreams" | |
], | |
"Resource": "arn:aws:logs:*:*:log-group:dms-data-migration-*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"logs:CreateLogStream", | |
"logs:PutLogEvents" | |
], | |
"Resource": "arn:aws:logs:*:*:log-group:dms-data-migration-*:log-stream:dms-data-migration-*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": "cloudwatch:PutMetricData", | |
"Resource": "*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:CreateRoute", | |
"ec2:DeleteRoute" | |
], | |
"Resource": "arn:aws:ec2:*:*:route-table/*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:CreateTags" | |
], | |
"Resource": [ | |
"arn:aws:ec2:*:*:security-group/*", | |
"arn:aws:ec2:*:*:security-group-rule/*", | |
"arn:aws:ec2:*:*:route-table/*", | |
"arn:aws:ec2:*:*:vpc-peering-connection/*", | |
"arn:aws:ec2:*:*:vpc/*" | |
] | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:AuthorizeSecurityGroupEgress", | |
"ec2:AuthorizeSecurityGroupIngress" | |
], | |
"Resource": "arn:aws:ec2:*:*:security-group-rule/*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:AuthorizeSecurityGroupEgress", | |
"ec2:AuthorizeSecurityGroupIngress", | |
"ec2:RevokeSecurityGroupEgress", | |
"ec2:RevokeSecurityGroupIngress" | |
], | |
"Resource": "arn:aws:ec2:*:*:security-group/*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:AcceptVpcPeeringConnection", | |
"ec2:ModifyVpcPeeringConnectionOptions" | |
], | |
"Resource": "arn:aws:ec2:*:*:vpc-peering-connection/*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": "ec2:AcceptVpcPeeringConnection", | |
"Resource": "arn:aws:ec2:*:*:vpc/*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment