You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform module setting up a collector that receives Audit Trail events sent by Spacelift and stores them in AWS S3.
Usage
provider"aws" {
region="us-east-1"# Change if you want to use a different region
}
module"collector" {
source="github.com/spacelift-io-examples/terraform-aws-spacelift-events-collector"# Add inputs described below as needed
}
Architecture
The main resources for this module are:
Courier: A Lambda function that exposes a URL (see the courier_url output) and forwards incoming events to a Kinesis Firehose Delivery Stream.
Stream: A Kinesis Firehose Delivery Stream that buffers events forwarded by the Courier and eventually sends them in batches to the Storage.
Storage: An S3 bucket that stores the events (see the storage_bucket_name output).
Requirements
Name
Version
archive
~> 2.2
aws
>= 5.51.1
random
~> 3.1
Inputs
Name
Description
Type
Default
Required
buffer_interval
Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination
number
300
no
buffer_size
Buffer incoming events to the specified size, in MBs, before delivering it to the destination
number
5
no
delete_events_when_destroying_stack
Whether to delete stored events when destroying the stack