Skip to content

Commit

Permalink
fix(cloudwatch-role): updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
Seun0925 authored and Seun0925 committed Jan 23, 2025
1 parent 11c7ad4 commit d7dd872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/local-constructs/cloudwatch-to-s3/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe("CloudWatchToS3", () => {
resources: [`${bucket.bucketArn}/*`],
}),
expect.objectContaining({
actions: ["logs:PutLogEvents"],
actions: ["logs:PutLogEvents", "logs:CreateLogGroup"],
resources: [
`arn:aws:logs:${cdk.Stack.of(cloudWatchToS3).region}:${
cdk.Stack.of(cloudWatchToS3).account
Expand Down

0 comments on commit d7dd872

Please sign in to comment.