From bbd2502aa5ec13cf56fd4e9f010bd0a1f0c41ef5 Mon Sep 17 00:00:00 2001 From: MrDevOpsMan Date: Tue, 15 Oct 2024 11:41:15 +0100 Subject: [PATCH] Update module_s3_bucket_cloudfront_logging.tf --- module_s3_bucket_cloudfront_logging.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_s3_bucket_cloudfront_logging.tf b/module_s3_bucket_cloudfront_logging.tf index 6a8b264..a1a5c1e 100644 --- a/module_s3_bucket_cloudfront_logging.tf +++ b/module_s3_bucket_cloudfront_logging.tf @@ -7,7 +7,7 @@ module "bucket_cloudwatch_logs_backup" { tags = var.common_tags acl = var.whitelabel_domain || var.acl_disabled ? null : "private" object_ownership = "ObjectWriter" - control_object_ownership = var.whitelabel_domain || var.acl_disabled ? true : false + control_object_ownership = var.whitelabel_domain || var.owner_enabled ? true : false attach_access_log_delivery_policy = var.whitelabel_domain ? true : false # Bucket public access