Skip to content

Commit

Permalink
Cloudwatch to s3 lambda: Add log export/stream permissions to lambda …
Browse files Browse the repository at this point in the history
…role (#2303)

* Add cloudwatch permissions to lambda role; remove redundant logs:GetLogEvents.
  • Loading branch information
Matthew-Grayson authored Oct 12, 2023
1 parent d8741fe commit b8f2717
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ provider:
- ecs:RunTask
- ecs:ListTasks
- iam:PassRole
- logs:GetLogEvents
Resource: '*'
- Effect: Allow
Action:
Expand All @@ -70,9 +69,12 @@ provider:
Resource: '*'
- Effect: Allow
Action:
- logs:CreateExportTask
- logs:CreateLogStream
- logs:Describe*
- logs:Get*
- logs:List*
- logs:PutLogEvents
- logs:StartQuery
- logs:StopQuery
- logs:TestMetricFilter
Expand Down

0 comments on commit b8f2717

Please sign in to comment.