Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ module "datadog_lambda_forwarder" {
s3_bucket_kms_arns = var.s3_bucket_kms_arns
s3_buckets = var.s3_buckets
s3_buckets_with_prefixes = var.s3_buckets_with_prefixes
s3_notification_events = var.s3_notification_events
security_group_ids = var.security_group_ids
subnet_ids = var.subnet_ids
tracing_config_mode = var.tracing_config_mode
Expand Down
6 changes: 6 additions & 0 deletions src/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ variable "s3_buckets_with_prefixes" {
default = {}
}

variable "s3_notification_events" {
type = list(string)
description = "List of S3 events to trigger the Lambda notification"
default = ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"]
}

variable "s3_bucket_kms_arns" {
type = list(string)
description = "List of KMS key ARNs for s3 bucket encryption"
Expand Down