Skip to content

Commit 1fbf1f2

Browse files
CCM-14600: Enable Access Logging for EventCache Buckets
1 parent 3d604f8 commit 1fbf1f2

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

infrastructure/terraform/modules/eventpub/module_s3bucket_event_cache.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ module "s3bucket_event_cache" {
4141
var.additional_policies_for_event_cache_bucket
4242
)
4343

44-
bucket_logging_target = var.eventcache_bucket_logging_target
44+
bucket_logging_target = {
45+
bucket = "${var.eventcache_bucket_logging_target}"
46+
}
47+
4548

4649
public_access = {
4750
block_public_acls = true

infrastructure/terraform/modules/eventpub/variables.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ variable "event_publishing_anomaly_band_width" {
155155
}
156156

157157
variable "eventcache_bucket_logging_target" {
158-
type = map(string)
159-
description = "Map of S3 bucket access logging target properties"
160-
default = {}
158+
type = string
159+
description = "S3 bucket access logging target"
160+
default = ""
161161
}

0 commit comments

Comments
 (0)