Export logs from CloudWatch to S3
This module requires curl
be available on the machine running terraform so that it can download the lambda zip.
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"
}