Skip to content

Commit

Permalink
fix(cloudwatch-role): allow log group creation for firehose role
Browse files Browse the repository at this point in the history
  • Loading branch information
Seun0925 authored and Seun0925 committed Jan 22, 2025
1 parent c2a364e commit 11c7ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/local-constructs/cloudwatch-to-s3/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class CloudWatchToS3 extends Construct {

firehoseRole.addToPolicy(
new PolicyStatement({
actions: ["logs:PutLogEvents"],
actions: ["logs:PutLogEvents", "logs:CreateLogGroup"],
resources: [
`arn:aws:logs:${cdk.Stack.of(this).region}:${
cdk.Stack.of(this).account
Expand Down

0 comments on commit 11c7ad4

Please sign in to comment.