Skip to content

Commit

Permalink
roll-back unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Park committed Apr 19, 2024
1 parent 2d07e6f commit d126df0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/serverless-deploy-iam/bin/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class ServiceDeployIAM extends cdk.Stack {
actions: ["s3:ListAllMyBuckets"],
},
{
name: "CLOUD_WATCH_LOGS",
name: "CLOUD_WATCH",
prefix: `arn:aws:logs:${region}:${accountId}:log-group:`,
qualifiers: [
`/aws/lambda/${serviceName}*`,
Expand All @@ -114,7 +114,7 @@ export class ServiceDeployIAM extends cdk.Stack {
actions: ["logs:*"],
},
{
name: "CLOUD_WATCH_LOGS",
name: "CLOUD_WATCH",
resources: ["*"],
actions: ["logs:DeleteDataProtectionPolicy"],
},
Expand Down Expand Up @@ -611,7 +611,7 @@ export class ServiceDeployIAM extends cdk.Stack {
let delimiter = "/";
switch (serviceName) {
case "COGNITO":
case "CLOUD_WATCH_LOGS":
case "CLOUD_WATCH":
case "CLOUD_WATCH_ALARMS":
case "LAMBDA":
case "S3":
Expand Down

0 comments on commit d126df0

Please sign in to comment.