Skip to content

Commit 5464ccd

Browse files
CCM-14600: Enable Access Logging for EventCache Buckets
1 parent aa5e7c7 commit 5464ccd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infrastructure/terraform/modules/s3bucket/s3_bucket_logging.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ resource "aws_s3_bucket_logging" "main" {
44

55
# Enable S3 Bucket Logging to the logs bucket
66
target_bucket = var.bucket_logging_target["bucket"]
7-
target_prefix = lookup(var.bucket_logging_target, "prefix", "${aws_s3_bucket.main.id}/")
7+
target_prefix = lookup(var.bucket_logging_target, "prefix", "${var.name}/")
88
}

0 commit comments

Comments
 (0)