Skip to content

Instantly share code, notes, and snippets.

@ourskycode
Created November 27, 2017 08:17
Show Gist options
  • Select an option

  • Save ourskycode/12a1e1f77883fd590c615ed9be73676f to your computer and use it in GitHub Desktop.

Select an option

Save ourskycode/12a1e1f77883fd590c615ed9be73676f to your computer and use it in GitHub Desktop.
Discourse AWS inline policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1506240388000",
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"arn:aws:s3:::**discourse-upload**",
"arn:aws:s3:::**discourse-upload**/*"
]
},
{
"Sid": "Stmt1506240479000",
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"arn:aws:s3:::**discourse-backup**",
"arn:aws:s3:::**discourse-backup**/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment