diff --git a/README.md b/README.md index ecd0d31..9422e9d 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,30 @@ The following settings must be passed as environment variables as shown in the e | `DEST_DIR` | The directory inside of the S3 bucket you wish to sync/upload to. For example, `my_project/assets`. Defaults to the root of the bucket. | `env` | No | `/` (root of bucket) | +### AWS ROLE config + +``` +{ + "Version": "2012-10-17", + "Statement": [ + { + "Sid": "s3actionsync", + "Effect": "Allow", + "Action": [ + "s3:PutObject", + "s3:GetObject", + "s3:ListBucket", + "s3:DeleteObject", + "s3:PutObjectAcl" + ], + "Resource": [ + "arn:aws:s3:::YOUR_BUCKET_NAME", + "arn:aws:s3:::YOUR_BUCKET_NAME/*" + ] + } + ] +``` + ## License This project is distributed under the [MIT license](LICENSE.md).