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 Docs

AWS S3 Logs Collection Terraform Module AWS S3 Logs Collection Terraform Module

Last Updated: Aug. 21, 2023

Terraform simplifies the way we deploy our infrastructure and allows us to maintain it as code.

Using our Terraform Modules, you can easily install and manage Coralogix integrations with AWS services as modules in your infrastructure code.

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

Installation

This module will be installing our S3 Log Collection Lambda.

To use the modules, simply add this declaration to your Terraform project:

module "coralogix-shipper-s3" {
  source = "coralogix/aws/coralogix//modules/s3"

  coralogix_region   = "Europe"
  private_key        = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXX"
  application_name   = "s3"
  subsystem_name     = "logs"
  s3_bucket_name     = "test-bucket-name"
  integration_type   = "s3"
}

We also have a Terraform Provider of our own to help with managing your Coralogix resources such as rules and alerts. Learn more about the Coralogix Terraform Provider and how to install it here.

If you want to use SSM in your integration you need to deploy our SSM layer:

provider "aws" {
}

module "lambda-secretLayer" {
  source = "coralogix/aws/coralogix//modules/lambda-secretLayer"

}

output "layer_arn" {
  value = module.lambda-secretLayer.lambda_layer_version_arn
}

Copy the output (the layer arn) and past it into the layer_arn variable in your integration.

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

On this page