Skip to content

AWS VPC Flow Logs Terraform Module

Using Coralogix Terraform Modules, you can easily install and manage Coralogix integrations with AWS services as modules in your infrastructure code. This tutorial demonstrates how to install the VPC Flow Logs collection Lambda.

Our modules are open source and available on our GitHub and in the Terraform Registry.

Installation

Install our VPC Flow Logs collection Lambda by adding this declaration to your Terraform project:

module "coralogix-shipper-vpc-flow-logs" {
  source = "coralogix/aws/coralogix//modules/coralogix-aws-shipper"
  integration_type   = "VpcFlow"
  api_key            = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXX"
  application_name   = "vpcflow-application"
  subsystem_name     = "vpcflow-subsystem"
  s3_bucket_name     = "bucket name"
}
Notes:

Execute the following:

terraform init
terraform plan
terraform apply

Run terraform destroy when you no longer need these resources.

Additional Resources

DocumentationAWS VPC Flow Logs
Coralogix Terraform Provider
External DocumentationGitHub
Terraform Registry

Support

Need help?

Our world-class customer success team is available 24/7 to walk you through your setup and answer any questions that may come up.

Feel free to reach out to us via our in-app chat or by sending us an email at [email protected].