diff --git a/packages/serverless-deploy-iam/bin/app.ts b/packages/serverless-deploy-iam/bin/app.ts index ec62987..c6d3fd1 100644 --- a/packages/serverless-deploy-iam/bin/app.ts +++ b/packages/serverless-deploy-iam/bin/app.ts @@ -147,12 +147,12 @@ export class ServiceDeployIAM extends cdk.Stack { "lambda:PutFunctionConcurrency", "lambda:DeleteEventSourceMapping", "lambda:UpdateEventSourceMapping", - "lambda:CreateEventSourceMapping", "lambda:CreateFunctionUrlConfig", "lambda:DeleteFunctionUrlConfig", "lambda:GetFunctionUrlConfig", "lambda:ListFunctionUrlConfigs", "lambda:UpdateFunctionUrlConfig", + "lambda:DeleteFunctionConcurrency", ] }, { @@ -160,7 +160,8 @@ export class ServiceDeployIAM extends cdk.Stack { resources: [`*`], actions: [ "lambda:GetEventSourceMapping", - "lambda:ListEventSourceMappings" + "lambda:ListEventSourceMappings", + "lambda:CreateEventSourceMapping" ] }, {