Our next-gen architecture is built to help you make sense of your ever-growing data Watch a 4-min demo video!

Back to All Integrations

Terraform Modules for AWS VPC Flow Logs Terraform Modules for AWS VPC Flow Logs

Last Updated: May. 24, 2023

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.


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

provider "aws" {
module "cloudtrail" {
  source = "coralogix/aws/coralogix//modules/cloudtrail"

  coralogix_region   = "Europe"
  custom_domain       = "https://<your custom doamin>/api/v1/logs"
  private_key        = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXX"
  ssm_enable         = "false"
  layer_arn           = "<you layer arn>"
  application_name   = "cloudtrail"
  subsystem_name     = "logs"
  s3_bucket_name     = "test-bucket-name"

Additional Resources

DocumentationAWS VPC Flow Logs
Coralogix Terraform Provider
External DocumentationGithub
Terraform Registry


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].

On this page