Skip to content

Commit

Permalink
feat: add eventbridge to var definition
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocode authored Nov 13, 2024
1 parent 2d7ace9 commit 89fe74d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -466,9 +466,11 @@ variable "expected_bucket_owner" {
More information: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-owner-condition.html
EOT
}

variable "event_notification_details" {
type = object({
enabled = bool
enabled = bool
eventbridge = optional(bool, false)
lambda_list = optional(list(object({
lambda_function_arn = string
events = optional(list(string), ["s3:ObjectCreated:*"])
Expand All @@ -485,9 +487,8 @@ variable "event_notification_details" {
topic_arn = string
events = optional(list(string), ["s3:ObjectCreated:*"])
})), [])

})
description = "(optional) S3 event notification details"
description = "S3 event notification details"
default = {
enabled = false
}
Expand Down

0 comments on commit 89fe74d

Please sign in to comment.