Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 528 Bytes

File metadata and controls

18 lines (13 loc) · 528 Bytes

CloudWatch Export

Export logs from CloudWatch to S3

NOTE

This module requires curl be available on the machine running terraform so that it can download the lambda zip.

Example

module "cloudwatch-logs-exporter" {
  source           = "gadgetry-io/cloudwatch-logs-exporter/aws"
  version          = "0.0.4"
  
  name             = "vpc-flow-logs"
  log_group        = "/prd/vpc_flow_logs"
  s3_bucket        = "my-s3-bucket"
  s3_prefix        = "cloudwatch/prd/vpc_flow_logs"
}