Skip to content

Commit

Permalink
Add permissions for S3 bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
guerrerocarlos committed Dec 2, 2023
1 parent 0d0f506 commit a73084e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions serverless.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@ const serverlessConfiguration: AWS = {
{
Effect: "Allow",
Action: ["s3:ListBucket"],
Resource: "arn:aws:s3:::idiomasconliza.com",
Resource: "arn:aws:s3:::telegram-bots-us-east-2",
},
{
Effect: "Allow",
Action: ["s3:PutObject"],
Resource: "arn:aws:s3:::idiomasconliza.com/*",
Resource: "arn:aws:s3:::telegram-bots-us-east-2/*",
},
{
Effect: "Allow",
Action: ["s3:GetObject"],
Resource: "arn:aws:s3:::idiomasconliza.com/*",
Resource: "arn:aws:s3:::telegram-bots-us-east-2/*",
},
{
Effect: "Allow",
Expand Down

0 comments on commit a73084e

Please sign in to comment.