set permission test

This commit is contained in:
neil 2022-10-19 15:05:15 +08:00
parent ec0c23f316
commit 1e43655ca4

View file

@ -25,12 +25,13 @@ const serverlessConfiguration: AWS = {
{ {
"Effect": "Allow", "Effect": "Allow",
"Resource": [ "Resource": [
"arn:aws:s3:::dist.tea.xyz",
"arn:aws:s3:::dist.tea.xyz/*", "arn:aws:s3:::dist.tea.xyz/*",
"arn:aws:s3:::dist.tea.xyz/*/*", "arn:aws:s3:::dist.tea.xyz/*/*",
], ],
"Action": [ "Action": [
"s3:Get*", "s3:GetBucketAcl",
"s3:List*", "s3:List",
"s3:ListBucket", "s3:ListBucket",
"s3:PutObject" "s3:PutObject"
] ]