From de22d1f1749fa976478e3928c2b6dd908448f68c Mon Sep 17 00:00:00 2001 From: MrDevOpsMan Date: Tue, 15 Oct 2024 11:39:50 +0100 Subject: [PATCH] Update module_s3_bucket_cloudfront_logging.tf update control of the owner control is well --- 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 f8fd0a5..6a8b264 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 ? true : false + control_object_ownership = var.whitelabel_domain || var.acl_disabled ? true : false attach_access_log_delivery_policy = var.whitelabel_domain ? true : false # Bucket public access