Skip to content

Commit

Permalink
Merge actions on lambda:event-source-mapping into one item.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Park committed Dec 8, 2024
1 parent f0e609b commit cb30cf8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/serverless-deploy-iam/bin/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,9 @@ export class ServiceDeployIAM extends cdk.Stack {
resources: [
`arn:aws:lambda:${region}:${accountId}:event-source-mapping:*`,
],
actions: ["lambda:TagResource"],
},
{
name: "LAMBDA",
resources: [`*`],
actions: [
"lambda:TagResource",
"lambda:UntagResource",
"lambda:GetEventSourceMapping",
"lambda:ListEventSourceMappings",
"lambda:CreateEventSourceMapping",
Expand Down

0 comments on commit cb30cf8

Please sign in to comment.