umotif-public / terraform-aws-waf-webaclv2

Terraform module to configure WAF V2 Web ACL with managed rules for Application Load Balancer
https://registry.terraform.io/modules/umotif-public/waf-webaclv2/aws
Other
137 stars 124 forks source link

Support for logging to S3 #112

Closed danielmilanov closed 1 year ago

danielmilanov commented 1 year ago

Hi, is logging to S3 bucket considered or perhaps on the roadmap already?

Support for firehose only seems hard coded.

TIA

danielmilanov commented 1 year ago

The resource argument seems to accept arn for s3, and cloudwatch group also, so it should work with s3 arn.

log_destination_configs - (Required) The Amazon Kinesis Data Firehose, Cloudwatch Log log group, or S3 bucket Amazon Resource Names (ARNs) that you want to associate with the web ACL.