Created
July 6, 2020 08:20
-
-
Save john-auld/b3152ff2579d5a6aa912cd5b379aafee to your computer and use it in GitHub Desktop.
AWS IAM Policy elements for S3 read, write, list and delete objects only
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
arn:aws:s3:::$bucket-name | |
s3:ListBucket | |
s3:ListBucketVersions | |
s3:GetBucketTagging | |
arn:aws:s3:::$bucket-name/$key-name | |
s3:ListMultipartUploadParts | |
s3:GetObject | |
s3:GetObjectVersion | |
s3:GetObjectTagging | |
s3:PutObject | |
s3:DeleteObject | |
// s3:DeleteObjectVersion - consider if this permission should be granted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Terraform policy document