Create a gist now

Instantly share code, notes, and snippets.

Bucket policy template for S3 Bucket processing on Packetloop. Just replace <<INSERT BUCKET NAME>> with your bucket name.
{
"Version": "2008-10-17",
"Id": "Policy1361081479235",
"Statement": [
{
"Sid": "Stmt1361081441897",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::772560792726:user/packetloop-s3"
},
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::<<INSERT BUCKET NAME>>"
},
{
"Sid": "Stmt1361081477939",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::772560792726:user/packetloop-s3"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::<<INSERT BUCKET NAME>>/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment