Last active
April 25, 2017 22:16
-
-
Save phroggyy/25b6e3396b5b2e431a6ed4cab61f1564 to your computer and use it in GitHub Desktop.
The AWS policy required to upload files to an S3 bucket using gulp-awspublish
This file contains hidden or 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": [ | |
"s3:ListBucket" | |
], | |
"Resource": [ | |
"arn:aws:s3:::bucket.name" | |
] | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:PutObject", | |
"s3:PutObjectTagging", | |
"s3:PutObjectVersionTagging", | |
"s3:GetObject", | |
"s3:DeleteObject", | |
"s3:DeleteObjectVersion", | |
"s3:DeleteObjectVersionTagging" | |
], | |
"Resource": [ | |
"arn:aws:s3:::bucket.name/*" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment