Skip to content

Instantly share code, notes, and snippets.

@RichardSilveira
Last active July 2, 2020 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RichardSilveira/5c389df11d568f710364e3d4d426c470 to your computer and use it in GitHub Desktop.
Save RichardSilveira/5c389df11d568f710364e3d4d426c470 to your computer and use it in GitHub Desktop.
Policy to be attached to a DeliverVPCFlowLogsRole with a Trusted relationship with "vpc-flow-logs.amazonaws.com"
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"ec2:DeleteFlowLogs",
"ec2:CreateFlowLogs",
"ec2:DescribeFlowLogs",
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents",
"logs:DescribeLogGroups",
"logs:DescribeLogStreams",
"ec2:CreateFlowLogs"
],
"Resource": "*",
"Effect": "Allow"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment