Skip to content

Commit 6009ce8

Browse files
CCM-14600: Enable Access Logging for EventCache Buckets
1 parent 04d1526 commit 6009ce8

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

infrastructure/terraform/modules/eventpub/module_s3bucket_event_cache.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ module "s3bucket_event_cache" {
4141
var.additional_policies_for_event_cache_bucket
4242
)
4343

44+
bucket_logging_target = var.eventcache_bucket_logging_target
45+
4446
public_access = {
4547
block_public_acls = true
4648
block_public_policy = true

infrastructure/terraform/modules/eventpub/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,9 @@ variable "event_publishing_anomaly_band_width" {
153153
description = "The width of the anomaly detection band. Higher values (e.g. 4-6) reduce sensitivity and noise, lower values (e.g. 2-3) increase sensitivity. Recommended: 2-4."
154154
default = 5
155155
}
156+
157+
variable "eventcache_bucket_logging_target" {
158+
type = map(string)
159+
description = "Map of S3 bucket access logging target properties"
160+
default = {}
161+
}

0 commit comments

Comments
 (0)