Skip to content
This repository has been archived by the owner on Mar 23, 2022. It is now read-only.

Commit

Permalink
firehose log group
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioviana-hotmart committed May 18, 2021
1 parent 0435848 commit fbee3d4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions waf/policy/submodule/firehose.tf
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,13 @@ resource "aws_kinesis_firehose_delivery_stream" "firehose" {
log_stream_name = "S3Delivery"
}
}
}

resource "aws_cloudwatch_log_group" "log" {
name = "/aws/kinesisfirehose/aws-waf-logs-fms-${local.name}"
}

resource "aws_cloudwatch_log_stream" "stream" {
name = "S3Delivery"
log_group_name = aws_cloudwatch_log_group.log.name
}

0 comments on commit fbee3d4

Please sign in to comment.