Skip to content

Commit

Permalink
fix issue with permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
guyrenny committed Jan 2, 2025
1 parent c069adb commit a43cec5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ Resources:
- Effect: Allow
Action:
- 's3:GetObject'
Resource: !Sub "arn:aws:s3:::${S3BucketName}/*"
Resource: arn:aws:s3:::*
- !Ref AWS::NoValue
# SQS Policy
- !If
Expand Down Expand Up @@ -1192,15 +1192,16 @@ Resources:
- lambda:UpdateEventSourceMapping
- lambda:GetFunctionConfiguration
- lambda:UpdateFunctionConfiguration
Resource: !Sub arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:*
Resource:
- !Sub arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:*
- !Sub arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:event-source-mapping:*
- Statement:
- Sid: S3NotificationPolicy
Effect: Allow
Action:
- s3:GetBucketNotification
- s3:PutBucketNotification
Resource:
Fn::Sub: arn:aws:s3:::*
Resource: arn:aws:s3:::*
- Sid: PutSubscriptionFilter
Effect: Allow
Action:
Expand Down

0 comments on commit a43cec5

Please sign in to comment.