update required IAM policies

This commit is contained in:
Harshavardhana 2021-10-13 12:28:53 -07:00
parent 082755de1a
commit bedf739d16

View File

@ -46,22 +46,27 @@ Minimum permissions required if you wish to provide restricted access with your
"Version": "2012-10-17",
"Statement": [
{
"Sid": "readonly",
"Effect": "Allow",
"Action": [
"s3:GetObject"
"s3:GetBucketLocation"
],
"Resource": "arn:aws:s3:::testbucket/*"
"Resource": [
"arn:aws:s3:::*"
]
},
{
"Sid": "readonly",
"Effect": "Allow",
"Action": [
"s3:GetBucketPolicy",
"s3:HeadBucket",
"s3:ListBucket"
"s3:PutObject",
"s3:GetObject",
"s3:ListBucket",
"s3:DeleteObject",
"s3:HeadBucket"
],
"Resource": "arn:aws:s3:::testbucket"
"Resource": [
"arn:aws:s3:::mybucket",
"arn:aws:s3:::mybucket/*"
]
}
]
}